<!DOCTYPE html>
<html class=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../js/jquery.min_wev8.js"></script>

<script language="javascript" type="text/javascript" src="../js/swfobject_wev8.js"></script>


<!-- js 整合到 init_wev8.js -->
<script type="text/javascript" src="../js/jquery.table_wev8.js"></script>
<script language="javascript" type="text/javascript" src="../js/init_wev8.js"></script>
<script language="javascript" src="../js/wbusb_wev8.js"></script>
<script type="text/javascript" src="../js/jquery.client_wev8.js"></script>
<script type="text/javascript" src="../js/jquery.jNice_wev8.js"></script>
<script type="text/javascript" src="../js/jquery.autocomplete_wev8.js"></script>
<script type="text/javascript" src="../js/browser_wev8.js"></script>
<script language="javascript" src="../js/zDialog_wev8.js"></script>
<script type="text/javascript" src="../js/hoverBtn_wev8.js"></script>
<script type="text/javascript" src="../js/weaver_lang_7_wev8.js"></script>

<!-- init.css, 所有css文件都在此文件中引入 -->
<link rel="stylesheet" href="../css/init_wev8.css" type="text/css">



<script language="javascript">
window["_jsessionid"] = "abcGIXfl4EmsDgcNxyLaw";
function check_conn() {
	return confirm('网络故障或其它原因导致您连接不上服务器，请复制下重要信息稍候再提交！\r\n\r\n按【确定】继续,按【取消】停留在本页!');
}

function _onViewLog(operateitem,sqlwhere,id){
	if(!sqlwhere)sqlwhere = "";
	var dialog = new window.top.Dialog();
	dialog.currentWindow = window;
	dialog.Title = "查看日志";
	var url = "/docs/tabs/DocCommonTab.jsp?_fromURL=3&operateitem="+operateitem+"&sqlwhere="+sqlwhere;
	if(id){
		url = "/docs/tabs/DocCommonTab.jsp?_fromURL=3&relatedid="+id+"&operateitem="+operateitem+"&sqlwhere="+sqlwhere;
		if(operateitem==418||operateitem==419||operateitem==420){
			dialog.Title = "变更日志";
		}
	}
	dialog.Width = jQuery(window).width();
	dialog.Height = 610;
	dialog.Drag = true;
	dialog.checkDataChange = false;
	dialog.maxiumnable = true;
	dialog.URL = url;
	dialog.show();
}


function check_form(thiswins,items)
{
	/* added by cyril on 2008-08-14 for td:8521 */
	var isconn = false;
	try {
		var xmlhttp;
	    if (window.XMLHttpRequest) {
	    	xmlhttp = new XMLHttpRequest();
	    }  
	    else if (window.ActiveXObject) {
	    	xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");  
	    }
	    var URL = "/systeminfo/CheckConn.jsp?userid=4&time="+new Date()+"&f_weaver_belongto_userid=4&f_weaver_belongto_usertype=0";
	    xmlhttp.open("GET",URL, false);
	    xmlhttp.send(null);
	    var result = xmlhttp.status;
	    if(result==200) {
		    isconn = true;
	    	var response_flag = xmlhttp.responseText;
	    	if(response_flag!='0') {
	    		var flag_msg = '';
	    		if(response_flag=='1') {
	    			var diag = new Dialog();
					diag.Width = 300;
					diag.Height = 180;
					diag.ShowCloseButton=false;
					diag.Title = "网页超时提醒";
					//diag.InvokeElementId="pageOverlay"
					diag.URL = "/wui/theme/ecology7/page/loginSmall.jsp?username=ywy";
					diag.show();
			        return false;
	    		}
	    		else if(response_flag=='2') {
	    			flag_msg = '网络故障或其它原因导致您连接不上服务器，请复制下重要信息稍候再提交！';
	    		}
	    		//主从帐户特殊处理 by alan for TD10156
	    		if(response_flag=='3') {
	    			flag_msg = '提交信息失败,该页面非当前帐号打开,请刷新页面后再提交!';
	   
	    			return false;
	    		}
	    		flag_msg += '\r\n\r\n按【确定】继续,按【取消】停留在本页!';
	        	//alert(xmlhttp.responseText);
	        	return confirm(flag_msg);
	        }
	    }
	    xmlhttp = null;

	  	//检查多行文本框 oracle下检查HTML不能超过4000个字符
	    
	}
	catch(e) {
		return check_conn();
	}
	if(!isconn)
		return check_conn();
    /* end by cyril on 2008-08-14 for td:8521 */
	
	thiswin = thiswins
	items = ","+items + ",";
	
	var tempfieldvlaue1 = "";
	try{
		tempfieldvlaue1 = document.getElementById("htmlfieldids").value;
	}catch (e) {
	}

	for(i=1;i<=thiswin.length;i++){
		tmpname = thiswin.elements[i-1].name;
		tmpvalue = thiswin.elements[i-1].value;
	    if(tmpvalue==null){
	        continue;
	    }

		if(tmpname!="" && items.indexOf(","+tmpname+",")!=-1){
			var href = location.href;
			if(href && href.indexOf("Ext.jsp")!=-1){
				window.__oriAlert__ = true;
			}
			if(tempfieldvlaue1.indexOf(tmpname+";") == -1){
				while(tmpvalue.indexOf(" ") >= 0){
					tmpvalue = tmpvalue.replace(" ", "");
				}
				while(tmpvalue.indexOf("\r\n") >= 0){
					tmpvalue = tmpvalue.replace("\r\n", "");
				}

				if(tmpvalue == ""){
					if(thiswin.elements[i-1].getAttribute("temptitle")!=null && thiswin.elements[i-1].getAttribute("temptitle")!=""){
						if(window.__oriAlert__){
							window.top.Dialog.alert("\""+thiswin.elements[i-1].getAttribute("temptitle")+"\""+"未填写");
						}else{
							var tempElement = thiswin.elements[i-1];
							//ueditor必填验证
							if (checkueditorContent(tempElement)) {
								continue;
							}
							
							window.top.Dialog.alert("&quot;"+thiswin.elements[i-1].getAttribute("temptitle")+"&quot;"+"未填写", function () {
						    formElementFocus(tempElement);						
							});
						}
						return false;
					}else{
						if(window.__oriAlert__){
							try{
								window.top.Dialog.alert("必要信息不完整，红色叹号为必填项！！");
							}catch(e){
								Dialog.alert("必要信息不完整，红色叹号为必填项！！");
							}
						}else{
							try{
								window.top.Dialog.alert("必要信息不完整，红色叹号为必填项！！");
							}catch(e){
								Dialog.alert("必要信息不完整，红色叹号为必填项！！");
							}
						}
						return false;
					}
				}
			} else {
				var divttt=document.createElement("div");
				divttt.innerHTML = tmpvalue;
				var tmpvaluettt = jQuery.trim(jQuery(divttt).text());
				if(tmpvaluettt == ""){
					if(thiswin.elements[i-1].getAttribute("temptitle")!=null && thiswin.elements[i-1].getAttribute("temptitle")!=""){
						if(window.__oriAlert__){
							window.top.Dialog.alert("\";"+thiswin.elements[i-1].getAttribute("temptitle")+"\""+"未填写");
						}else{
							var tempElement = thiswin.elements[i-1];
							
							//ueditor必填验证
							if (checkueditorContent(tempElement)) {
								continue;
							}
							
							window.top.Dialog.alert("&quot;"+thiswin.elements[i-1].getAttribute("temptitle")+"&quot;"+"未填写", function () {
								formElementFocus(tempElement);
							});
							
						}
						return false;
					}else{
						if(window.__oriAlert__){
							window.top.Dialog.alert("必要信息不完整，红色叹号为必填项！！");
						}else{
							window.top.Dialog.alert("必要信息不完整，红色叹号为必填项！！");
						}
						return false;
					}
				}
			}
		}
	}
	return true;
}

function isdel(){
	var str = "确定要删除吗?";
   if(!confirm(str)){
       return false;
   }
       return true;
 } 

function issubmit(){
	var str = "确定要提交吗?";
   if(!confirm(str)){
       return false;
   }
       return true;
   } 

/*流程里面使用，主要是因为流程内容放到iframe里面，通过response返回的时候，要返回的到其父窗口*/
function wfforward(wfurl){
	parent.location.href = wfurl;
}

function myescapecode(str)
{
	return encodeURIComponent(str);
}
</script>




<script language="JavaScript"> 
  var companyname = "E8TEST";
  var str1 = "此系统由泛微软件授权于";

  if(companyname.length >0 ){
  	window.status = str1+companyname;
  }
</script>
<!-- 删除 -->
<link href="../css/WdatePicker_wev8.css" rel="stylesheet" type="text/css"><style type="text/css">.fancybox-margin{margin-right:0px;}</style></head><body scroll="auto" style="overflow-x:hidden !important; overflow-y: auto !important">

<!--USB 验证 -->


<!--WUI -->

<link href="../css/jquery_dialog_wev8.css" type="text/css" rel="STYLESHEET">
<script type="text/javascript" src="../js/jquery.min_wev8.js"></script>
<script type="text/javascript" language="javascript" src="../js/jquery_dialog_wev8.js"></script>
<script type="text/javascript" language="javascript">
function ReloadOpenerByDialogClose() {
    document.location="/login/VerifyRtxLogin.jsp?para=309E8BC1C22704EC492584DB74590E0F46935E31BF5D9843615D29FFD937E2D65A0A8FDCF036954FA28CA24C228A27AED38363A2C13A73A0A139A6A7C41BCC1C2463E5724171626CACE9623B91F01D11F47EB147625C1A043D8E590B8ACBF3C60810E1E171FCB14F6962248F137150E3";
        return;


}
</script>



<!--For wui-->


<!--For wui-->
<link type="text/css" rel="stylesheet" href="../css/wui_wev8.css">

<!-- 字体设置，win7、vista系统使用雅黑字体,其他系统使用宋体 Start -->
<!--
添加至init_wev8.css 
<link type='text/css' rel='stylesheet'  href='/wui/common/css/w7OVFont_wev8.css' id="FONT2SYSTEMF">
 -->
<script language="javascript"> 
/*
if (jQuery.client.version< 6) {
	document.getElementById('FONT2SYSTEMF').href = "/wui/common/css/notW7AVFont_wev8.css";
}
*/
</script> 
<!-- 字体设置，win7、vista系统使用雅黑字体,其他系统使用宋体 End -->

<!-- 页面切换效果Start -->

<!-- 页面切换效果End -->


<script language="javascript">

//------------------------------
// the folder of current skins 
//------------------------------
//当前使用的主题
var GLOBAL_CURRENT_THEME = "ecology8";
//当前主题使用的皮肤
var GLOBAL_SKINS_FOLDER = "default";
</script>

<!--For wuiForm-->
<script type="text/javascript" src="../js/jquery.wuiform_wev8.js"></script>
<script language="javascript">
jQuery(document).ready(function(){
	wuiform.init();
});
</script>
































	<script type="text/javascript" src="../js/weaver-lang-cn-gbk_wev8.js"></script>




  
   	<title>个人门户</title>
  	<!-- 引入CSS -->
  	 <script language="javascript" src="../js/zDialog_wev8.js"></script>
<script language="javascript" src="../js/zDrag_wev8.js"></script>
<link rel="stylesheet" href="../css/e8_zDialog_btn_wev8.css" type="text/css">
<link rel="stylesheet" href="../css/e8tabs_wev8.css" type="text/css">
<script language="javascript" src="../js/jquery.tabs.extend_wev8.js"></script>
<script type="text/javascript" src="../js/jquery.overlabel_wev8.js"></script>
<link type="text/css" href="../css/e8tabs1_wev8.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="../css/perfect-scrollbar_wev8.css">
		<script type="text/javascript" src="../js/perfect-scrollbar_wev8.js"></script>
		<script type="text/javascript" src="../js/jquery.mousewheel_wev8.js"></script>
		
	<!-- 引入JavaScript -->  
	<script language="javascript" src="../js/jquery.weavertabs_wev8.js"></script>
<script language="javascript" src="../js/jquery.filetree_wev8.js"></script>
<script language="javascript" src="../js/jquery.corner_wev8.js"></script>
<script language="javascript" src="../js/jquery.cycle.all_wev8.js"></script>
<script language="javascript" src="../js/drag_wev8.js"></script>
<script language="javascript" src="../js/xmlextras_wev8.js"></script>
<script language="javascript" src="../js/swfobject_wev8.js"></script>
<script language="javascript" src="../js/menuh_wev8.js"></script>
<script language="javascript" src="../js/menuv_wev8.js"></script>
<script language="javascript" src="../js/ui.core_wev8.js"></script>
<script language="javascript" src="../js/ui.dialog_wev8.js"></script>
<script language="javascript" src="../js/highslide-with-gallery_wev8.js"></script>
<script language="javascript" src="../js/jquery.tooltip_wev8.js"></script>
<script language="javascript" src="../js/jquery.bgiframe.pack_wev8.js"></script>
<script language="javascript" src="../js/shadowbox.js"></script>
<script language="javascript" src="../js/jquery.showLoading.js"></script>
<script language="javascript" src="../js/common.js"></script>
<script language="javascript" src="../js/jcarousellite.js"></script>
<script language="javascript" src="../js/jquery.fancybox.js"></script>
<script language="javascript" src="http://e8.weaver.com.cn/homepage/Homepage.jsp?hpid=8&amp;subCompanyId=5&amp;isfromportal=1&amp;isfromhp=0"></script>

	<link href="../css/Weaver_wev8.css" type="text/css" rel="stylesheet">
<link href="../css/page_wev8.css" type="text/css" rel="stylesheet">
<link href="../css/weavertabs_wev8.css" type="text/css" rel="stylesheet">
<link href="../css/menuh_wev8.css" type="text/css" rel="stylesheet">
<link href="../css/menuv_wev8.css" type="text/css" rel="stylesheet">
<link href="../css/ui.dialog_wev8.css" type="text/css" rel="stylesheet">
<link href="../css/jsme_wev8.css" type="text/css" rel="stylesheet">
<link href="../css/ui.core_wev8.css" type="text/css" rel="stylesheet">
<link href="../css/jside_wev8.css" type="text/css" rel="stylesheet">
<link href="../css/simpletooltip_wev8.css" type="text/css" rel="stylesheet">
<link href="../css/task.css" type="text/css" rel="stylesheet">
<link href="../css/showLoading.css" type="text/css" rel="stylesheet">
<link href="../css/shadowbox.css" type="text/css" rel="stylesheet">
<link href="../css/default.css" type="text/css" rel="stylesheet">
<link href="../css/jquery.fancybox.css" type="text/css" rel="stylesheet">

	<script type="text/javascript">
		
		function onLoadComplete(ifm){
			if(ifm.readyState=="complete"){   
				if(ifm.contentWindow.document.body.scrollHeight>ifm.height){
					ifm.style.height = ifm.height;
				}else{
					ifm.style.height = ifm.contentWindow.document.body.scrollHeight;
				}
			}
		}
	</script>
	<style type="text/css">
	body{
		background:#ffffff;
	}
	
	#Container{
			width:99%;
			margin-left:10px;
		}		

	.item{
		margin-top:10px;
	}
	.group{	
		margin-right:10px;
	}
	
	#__content__ table{margin-bottom:10px;border-collapse:collapse;display:table;}
		#__content__ .selectTdClass{background-color:#edf5fa !important}
		 #__content__ table.noBorderTable td,
		 #__content__ table.noBorderTable th,
		 #__content__ table.noBorderTable caption{border:1px dashed #ddd !important}
		
		 #__content__ td,#__content__ th{padding: 5px 10px;border: 0px;}
		 #__content__ caption{border:1px dashed #DDD;border-bottom:0;padding:3px;text-align:center;}
		 #__content__ th{border-top:1px solid #BBB;background-color:#F7F7F7;}
		 #__content__ table tr.firstRow th{border-top-width:2px;}
		 #__content__ .ue-table-interlace-color-single{ background-color: #fcfcfc; } 
		 #__content__ .ue-table-interlace-color-double{ background-color: #f7faff; }
		  #__content__ td p{margin:0;padding:0;}

		  #__content__ .loadingclass{display:inline-block;cursor:default;background: url(./images/loading_wev8.gif) no-repeat center center transparent;border:1px solid #cccccc;margin-left:1px;height: 22px;width: 22px;}
		  #__content__ .loaderrorclass{display:inline-block;cursor:default;background: url(./images/loaderror_wev8.png) no-repeat center center transparent;border:1px solid #cccccc;margin-right:1px;height: 22px;width: 22px;}

		  #__content__ pre{margin:.5em 0;padding:.4em .6em;border-radius:8px;background:#f8f8f8;}

		  #__content__ .anchorclass{background: url(./images/anchor_wev8.gif) no-repeat scroll left center transparent;cursor: auto;display: inline-block;height: 16px;width: 15px;}

		  #__content__ .pagebreak{display:block;clear:both !important;cursor:default !important;width: 100% !important;margin:0;}

		  #__content__ .edui-editor-imagescale{display:none;position:absolute;border:1px solid #38B2CE;cursor:hand;-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}
		  #__content__ .edui-editor-imagescale span{position:absolute;width:6px;height:6px;overflow:hidden;font-size:0px;display:block;background-color:#3C9DD0;}
		  #__content__ .edui-editor-imagescale .edui-editor-imagescale-hand0{cursor:nw-resize;top:0;margin-top:-4px;left:0;margin-left:-4px;}
		   #__content__ .edui-editor-imagescale .edui-editor-imagescale-hand1{cursor:n-resize;top:0;margin-top:-4px;left:50%;margin-left:-4px;}
			#__content__ .edui-editor-imagescale .edui-editor-imagescale-hand2{cursor:ne-resize;top:0;margin-top:-4px;left:100%;margin-left:-3px;}
		   #__content__ .edui-editor-imagescale .edui-editor-imagescale-hand3{cursor:w-resize;top:50%;margin-top:-4px;left:0;margin-left:-4px;}'
			#__content__ .edui-editor-imagescale .edui-editor-imagescale-hand4{cursor:e-resize;top:50%;margin-top:-4px;left:100%;margin-left:-3px;}
		   #__content__ .edui-editor-imagescale .edui-editor-imagescale-hand5{cursor:sw-resize;top:100%;margin-top:-3px;left:0;margin-left:-4px;}
		 #__content__  .edui-editor-imagescale .edui-editor-imagescale-hand6{cursor:s-resize;top:100%;margin-top:-3px;left:50%;margin-left:-4px;}
		   #__content__ .edui-editor-imagescale .edui-editor-imagescale-hand7{cursor:se-resize;top:100%;margin-top:-3px;left:100%;margin-left:-3px;}

		  #__content__ .view{padding:0;word-wrap:break-word;cursor:text;height:90%;}body{margin:8px;font-family:sans-serif;font-size:12px;}p{margin:5px 0;}
	
	.addwf .tab_menu {
		height:30px!important;
		line-height: 30px!important;
		margin-top：10px;
	}

	.addwf .tab_menu li {
		height:30px!important;
		line-height: 30px!important;
	}
	
	.addwf .addwfDrop{
		  position: absolute;
		  background-color: #f5f5f5;
		  border: 1px solid #e0e0e0;
		  z-index: 100;
		  min-width: 50px;
		  list-style: none;
		  padding:5px;
		  display: none;
	}
	
	.addwf .addwfDrop li{
	
		margin-left:10px;
		margin-right:10px;
		border-bottom: 1px solid rgb(226, 227, 228);
	}
	
	.addwf .addwfDrop li{
		margin-left:10px;
		margin-right:10px;
		border-bottom: 1px solid rgb(226, 227, 228);
		cursor:pointer;
		white-space: nowrap;
	}
	
	.addwf .addwfDrop .itemdropOver{
		padding-left:15px;
		padding-right:15px;
		color:red!important;
		border-bottom: 1px solid rgb(153,205,218)!important;
	}
	
	.addwf .addwfDrop .itemdrop{
		padding-left:15px;
		padding-right:15px;
		color:#5b5b5b;
	}
	
	.addwf .magic-line{
		display: none;
	}
	.addwf{
		height: 185px;
	}
	.oneCol{
		width:100%
	}
	.twoCol{
		width:50%;
		float:left;
		
	}
	
	.fontItem{
		height: 30px;
		line-height: 30px;
		border-bottom: 1px dashed #f0f0f0;
		
	}

	.signPreview{
		display:none;
		position: absolute;
		width:510px;
		z-index: 100;
		
		
	}
	
	
	.signPreview .arrowsblock{
		  height: 22px!important;
		  width: 100%!important;
		  position: absolute;
		  top: 10px;
		  text-align: left;
		  padding-left:100px;
		  z-index:1;
	}
	
	.signPreview .arrowsblockup{
		  height: 22px!important;
		  width: 100%!important;
		  position: absolute;
		  bottom: 6px;
		  text-align: left;
		  padding-left:100px;
		  z-index:1;
	}
	.signContainer{
		margin-top:22px;
		border:1px solid #cccccc;
		padding-top:10px;
		background: #fff;
		
		height:350px;
	}
	.signMoreup{
		border-bottom-width:0px!important;
		border-left-width:0px!important;
		border-right-width:0px!important;
	}
	.signContainerup{
		margin-top:0px!important;
		margin-bottom: 22px!important;
	}
	.signPreview .signMore{
		background: #f4f7f7;
		height: 40px;
		line-height: 40px;
		text-align: center;
		cursor: pointer;
		border:1px solid #cccccc;
		border-top: 0px;
	}
    .overlabel {
	  position: absolute;
	  z-index: 1;
	  font-size: 12px;
	  font-weight: normal;
	  color: #dadedb!important;
	  line-height: 22px!important;
	}
	
	.searchInputSpan{
		top:0px!important;
	}			
    .settingtabcurrent{
	    color: #1264B5 !important;
	}
	.weavertabs-content DIV{
		display:inline;
	}
	.cntactbox{
		height:auto !important;
	}
	.cntactbox .tab_menu {
		height:30px!important;
		line-height: 30px!important;
		margin-top：10px;
	}

	.cntactbox .tab_menu li {
		height:30px!important;
		line-height: 30px!important;
	}
	
	.cntactbox .magic-line{
		display: none;
	}
	
	.item .magic-line{
		display: none;
	}
    .settingtabcurrent{
	    color: #1264B5 !important;
	}

	.setting_button_row{
		padding-top: 5px!important;
		padding-bottom: 5px!important;
		background-color: #F6F6F6;
		padding-left:0px!important;
		padding-right:0px!important;
		width: 100%;
		border: none;
		border-top: 1px solid #dadedb;
	}
	.LayoutTable{
		border:none;
	}
	.item a{
		text-decoration: none!important;
	}
	.header{
		background-position:left center;
	}
	.ehoverBg{
  		background:#E2F1FC;
  	}
  	.ehover{
  		height:25px;
  	}
	 #reldiv #Container{
	 
	   margin-left:5px;
	
	}
	#container_Table{
		border-collapse: collapse;
		height: 100%;
	}
	#container_Table td
	{
		vertical-align:top;
	}
	td .fieldName,.field,.groupHeadHide *,.LayoutTable .ListStyle td{
		vertical-align:middle !important;
	}
	.layouttable{
	    width:100%;
		table-layout:fixed;
        border-collapse: collapse;
	}

    .item .title{
	  padding-bottom:5px;
	}
	

    

	#spanELib{
	   border:none !important;
	   width:120px !important;
	}
	#spanELib>div{
	   border:none !important;
	}

    .dragitemholder{
   	    background: #f9f9f9;
		position: absolute;
		z-index: 1;
		cursor: move;
		height: 35px;
		border: 1px solid rgb(230, 230, 230);
		padding: 0 2px;
		width: 150px;
		line-height: 35px;
	}

	.toolbar ul li a{
     overflow: inherit!important;	
 	}
 	
 	.wfremindimg{
       vertical-align: middle;
	   margin-top: -3px;
	   padding-left: 6px;
       cursor: pointer;
 	}
 	
 	.picturenexthp{
 	   cursor: pointer;
 	}

 	.picturebackhp{
 	   cursor: pointer;
 	}
 	
 	.elementdatatable{
 	   margin-top: 3px;
 	   border-collapse: collapse;
 	}
 	
 	.elementdatatable tr{
 	   height : 20px;
 	}
 	.elementdatatable td img{
 	   vertical-align: middle;
 	}
 	
	 	.elementdatatable td{
	 	   vertical-align: middle;
	 	   padding-top: 2px;
	 	   padding-bottom: 2px;
	 	   line-height: 20px;
	 	   font-size: 12px;
	 	}
	
 	
	.colorspan{display:inline-block;*display:inline;width:15px !important;height:15px !important;overflow:hidden;cursor:pointer;margin-top:5px;}
	.colorul{width:110px;height:55px;list-style-type:none !important;margin:0px;padding:5px;overflow:hidden;}
	.colorul li{width:25px;height:25px;white-space:nowrap;margin-top:2px;margin-left:2px;padding:0px;float:left;cursor:pointer;}
 	
 	
 	
	.picturebackhp 
	{
	    width: 18px;
	    height: 32px;
	    float:left;
	    background: transparent url(./images/scroll_left_wev8.gif) no-repeat 0 0;
	}
	.picturenexthp 
	{
	    width: 18px;
	    height: 32px;
	    float:left;
	    background: transparent url(images/scroll_right_wev8.gif) no-repeat 0 0;
	}
 	
 	#PortalCenter{
		width: 100%;
		height: 240px;
		table-layout: fixed;
		
	}
	
	.module{
		width: 100%;
		height: 100%;
		position: relative;
		cursor: pointer;
	}
	
	.workflow{
		background-color:#33a3ff;
		background-image: url("/images/workflow_wev8.png");
		background-position: center center;
		background-repeat: no-repeat;
	}
	
	.project{
		background-color:#cb61fe;
		background-image: url("/images/project_wev8.png");
		background-position: center center;
		background-repeat: no-repeat;
	}
	
	.capital{
		background-color:#ffd200;
		background-image: url("/images/homepage/portalcenter/capital_wev8.png");
		background-position: center center;
		background-repeat: no-repeat;
	}
	
	.cowork{
		background-color:#fd9000;
		background-image: url("/images/homepage/portalcenter/cowork_wev8.png");
		background-position: center center;
		background-repeat: no-repeat;
	}
	
	.crm{
		background-color:#6871e3;
		background-image: url("/images/homepage/portalcenter/crm_wev8.png");
		background-position: center center;
		background-repeat: no-repeat;
	}
	
	.blog{
		background-color:#56de37;
		background-image: url("/images/homepage/portalcenter/blog_wev8.png");
		background-position: center center;
		background-repeat: no-repeat;
		
	}
	
	
	.doc{
		background-color:#fd2677;
		background-image: url("/images/homepage/portalcenter/doc_wev8.png");
		background-position: center center;
		background-repeat: no-repeat;
		
	}
	
	.meetting{
		background-color:#fd2677;
		background-image: url("/images/homepage/portalcenter/meetting_wev8.png");
		background-position: center center;
		background-repeat: no-repeat;
		
	}
	
	.workplan{
		background-color:#fd2677;
		background-image: url("/images/homepage/portalcenter/workplan_wev8.png");
		background-position: center center;
		background-repeat: no-repeat;
		
	}
	
	.num{
		position: absolute;
		left: 0px;
		bottom: 0px;
		color: #ffffff;
		padding-left: 15px;
		padding-bottom: 10px;
		font-size: 24px;
		font-family: 微软雅黑;
	}
	
	.mtitle{
		height:80px;
		margin:auto;
		bottom: 0px;
		color: #ffffff;
		width:80px;
		font-size: 20px;
		vertical-align:middle;
		text-align:center;
		line-height:80px;
		font-family: 微软雅黑;
		display: none;
		
		
	}
  	.item{
	background-color:#ffffff;
}
#item_57 
.header,#item_268 
.header{
	background-color:#ffffff;
	background-repeat:repeat;
	background-position-x:0px;
	background-position-y:0px;
	border-top-style:none;
	border-top-width:0px;
	border-top-color:#000000;
	border-bottom-style:solid;
	border-bottom-width:1px;
	border-bottom-color:#dedede;
	border-left-style:none;
	border-left-width:0px;
	border-left-color:#000000;
	border-right-style:none;
	border-right-width:0px;
	border-right-color:#000000;
	height:34px;
	border-bottom:1px solid rgb(222, 222, 222);
}
#item_57 
.toolbar,#item_268 
.toolbar{
	right:-46px;
	top:9px;
}
#item_57 
.toolbar ul,#item_268 
.toolbar ul{
	width:108px;
	margin:0px;
	padding:0px;
	list-style-type:none;
}
#item_57 
.toolbar ul li a,#item_268 
.toolbar ul li a{
	float:left;
	display:block;
	padding-top:0px;
	padding-bottom:0px;
	padding-left:3px;
	padding-right:3px;
	text-decoration:none;
}
#item_57 
.toolbar ul li,#item_268 
.toolbar ul li{
	float:left;
	width:16px;
	height:16px;
}
#item_57 
.toolbar ul li a,#item_268 
.toolbar ul li a{
	width:16px;
	height:16px;
}
#item_57 
.icon,#item_268 
.icon{
	display:none;
	left:15px;
	top:7px;
}
#item_57 
.title,#item_268 
.title{
	color:#252525!important;
	font-style:normal;
	font-size:12px;
	font-weight:normal;
	font-family:微软雅黑!important;
	left:13px;
	top:8px;
	border-bottom:2px solid rgb(2, 198, 58);
	height:25px;
}
#item_57 
.content,#item_268 
.content{
	background-color:rgba(0, 0, 0, 0);
	background-image:none;
	background-repeat:repeat;
	background-position-x:329px;
	background-position-y:329px;
	border-top-style:none;
	border-top-width:0px;
	border-top-color:#1d1616;
	border-bottom-style:none;
	border-bottom-width:0px;
	border-bottom-color:#c2d5fc;
	border-left-style:none;
	border-left-width:0px;
	border-left-color:#c2d5fc;
	border-right-style:none;
	border-right-width:0px;
	border-right-color:#c2d5fc;
	overflow:auto;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:5px;
	padding-right:5px;
}
#item_57 
.font,#item_268 
.font{
	color:#242424!important;
	font-style:normal;
	font-size:12px;
	font-weight:normal;
	font-family:微软雅黑!important;
	text-decoration:none;
}
#item_57 
.sparator,#item_268 
.sparator{
	background-image:none;
}
#item_57 
.tab2,#item_268 
.tab2{
   background-image:url(/page/resource/userfile/image/ecology8/tabbg1_wev8.png);
}
#item_57 
.tab2unselected,#item_268 
.tab2unselected{
	background-image:url(/page/resource/userfile/image/ecology8/tabbg1_wev8.png);
	background-repeat:no-repeat;
	cursor:pointer;
	text-align:center;
	padding-top:5px;
	width:77px;
	vertical-align:middle;
	color:#242424!important;
	font-style:normal;
	font-family:微软雅黑!important;
	font-size:12px;
	font-weight:normal;
}
#item_57 
.tab2selected,#item_268 
.tab2selected{
    background-image:url(/page/resource/userfile/image/ecology8/tabbg001_wev8.png);
	background-repeat:no-repeat;
	color:#008ff3!important;
	font-style:normal;
	font-size:12px;
	font-family:微软雅黑!important;
	font-weight:normal;
	text-align:center;
	padding-top:5px;
	width:77px;
	cursor:pointer;
	vertical-align:middle;
}
#item_57 
.font:hover,#item_268 
.font:hover{
	color:#018efb!important;
}

.item {
 background-color: rgb(255, 255, 255);
 }
#item_220 
 .header ,#item_265 
 .header ,#item_266 
 .header ,#item_267 
 .header ,#item_58 
 .header ,#item_59 
 .header ,#item_222 
 .header ,#item_66 
 .header ,#item_335 
 .header {
 background-position: 0% 50%;
 height: 32px !important;
 border-top-color: rgb(194, 213, 252);
 border-right-color: rgb(194, 213, 252);
 border-bottom-color: rgb(0, 0, 255) !important;
 border-left-color: rgb(194, 213, 252);
 border-bottom-width: 2px !important;
 background-image: none !important;
 background-repeat: repeat-x;
 background-color: rgb(255, 255, 255) !important;
 }
#item_220 
 .toolbar ,#item_265 
 .toolbar ,#item_266 
 .toolbar ,#item_267 
 .toolbar ,#item_58 
 .toolbar ,#item_59 
 .toolbar ,#item_222 
 .toolbar ,#item_66 
 .toolbar ,#item_335 
 .toolbar {
 top: 9px;
 right: 5px;
 }
#item_220 
 .toolbar ul ,#item_265 
 .toolbar ul ,#item_266 
 .toolbar ul ,#item_267 
 .toolbar ul ,#item_58 
 .toolbar ul ,#item_59 
 .toolbar ul ,#item_222 
 .toolbar ul ,#item_66 
 .toolbar ul ,#item_335 
 .toolbar ul {
 margin: 0px;
 padding: 0px;
 list-style-type: none;
 }
#item_220 
 .toolbar ul li a ,#item_265 
 .toolbar ul li a ,#item_266 
 .toolbar ul li a ,#item_267 
 .toolbar ul li a ,#item_58 
 .toolbar ul li a ,#item_59 
 .toolbar ul li a ,#item_222 
 .toolbar ul li a ,#item_66 
 .toolbar ul li a ,#item_335 
 .toolbar ul li a {
 padding: 0px 3px;
 text-decoration: underline;
 float: left;
 display: block;
 }
#item_220 
 .toolbar ul li ,#item_265 
 .toolbar ul li ,#item_266 
 .toolbar ul li ,#item_267 
 .toolbar ul li ,#item_58 
 .toolbar ul li ,#item_59 
 .toolbar ul li ,#item_222 
 .toolbar ul li ,#item_66 
 .toolbar ul li ,#item_335 
 .toolbar ul li {
 height: 1px;
 float: left;
 }
#item_220 
 .toolbar ul li a ,#item_265 
 .toolbar ul li a ,#item_266 
 .toolbar ul li a ,#item_267 
 .toolbar ul li a ,#item_58 
 .toolbar ul li a ,#item_59 
 .toolbar ul li a ,#item_222 
 .toolbar ul li a ,#item_66 
 .toolbar ul li a ,#item_335 
 .toolbar ul li a {
 height: 0px;
 }
#item_220 
 .icon ,#item_265 
 .icon ,#item_266 
 .icon ,#item_267 
 .icon ,#item_58 
 .icon ,#item_59 
 .icon ,#item_222 
 .icon ,#item_66 
 .icon ,#item_335 
 .icon {
 left: 0px !important;
 top: 5px !important;
 position: absolute;
 }
#item_220 
 .title ,#item_265 
 .title ,#item_266 
 .title ,#item_267 
 .title ,#item_58 
 .title ,#item_59 
 .title ,#item_222 
 .title ,#item_66 
 .title ,#item_335 
 .title {
 left: 27px;
 top: 8px;
 color: rgb(0, 0, 0);
 font-family: 宋体;
 font-size: 12px;
 font-style: normal;
 font-weight: bold;
 border-bottom-color: rgb(0, 0, 0) !important;
 border-bottom-width: 0px !important;
 border-bottom-style: solid !important;
 }
#item_220 
 .content ,#item_265 
 .content ,#item_266 
 .content ,#item_267 
 .content ,#item_58 
 .content ,#item_59 
 .content ,#item_222 
 .content ,#item_66 
 .content ,#item_335 
 .content {
 background-position: 50% 50%;
 border-width: 1px 0px 0px !important;
 border-style: none solid solid;
 border-color: rgb(68, 68, 68) rgb(255, 255, 255) rgb(255, 255, 255) !important;
 overflow: auto;
 padding-top: 10px !important;
 padding-right: 5px;
 padding-bottom: 5px;
 padding-left: 5px;
 background-image: none;
 background-repeat: repeat;
 }
#item_220 
 .font ,#item_265 
 .font ,#item_266 
 .font ,#item_267 
 .font ,#item_58 
 .font ,#item_59 
 .font ,#item_222 
 .font ,#item_66 
 .font ,#item_335 
 .font {
 color: rgb(0, 0, 0);
 font-family: Verdana;
 font-size: 12px;
 font-style: normal;
 font-weight: normal;
 text-decoration: none;
 }
#item_220 
 .sparator ,#item_265 
 .sparator ,#item_266 
 .sparator ,#item_267 
 .sparator ,#item_58 
 .sparator ,#item_59 
 .sparator ,#item_222 
 .sparator ,#item_66 
 .sparator ,#item_335 
 .sparator {
 background-image: none !important;
 }
#item_220 
 .tab2 ,#item_265 
 .tab2 ,#item_266 
 .tab2 ,#item_267 
 .tab2 ,#item_58 
 .tab2 ,#item_59 
 .tab2 ,#item_222 
 .tab2 ,#item_66 
 .tab2 ,#item_335 
 .tab2 {
 background-image: url("http://192.168.1.236:8093/page/resource/userfile/image/ecology8/tabbg1_wev8.png") !important;
 }
#item_220 
 .tab2unselected ,#item_265 
 .tab2unselected ,#item_266 
 .tab2unselected ,#item_267 
 .tab2unselected ,#item_58 
 .tab2unselected ,#item_59 
 .tab2unselected ,#item_222 
 .tab2unselected ,#item_66 
 .tab2unselected ,#item_335 
 .tab2unselected {
 width: 77px;
 text-align: center;
 color: rgb(189, 189, 189) !important;
 padding-top: 5px;
 font-family: 微软雅黑 !important;
 font-size: 12px;
 font-style: normal;
 font-weight: normal;
 vertical-align: middle;
 cursor: pointer;
 background-image: url("http://192.168.1.236:8093/page/resource/userfile/image/ecology8/tabbg1_wev8.png") !important;
 background-repeat: no-repeat;
 }
#item_220 
 .tab2selected ,#item_265 
 .tab2selected ,#item_266 
 .tab2selected ,#item_267 
 .tab2selected ,#item_58 
 .tab2selected ,#item_59 
 .tab2selected ,#item_222 
 .tab2selected ,#item_66 
 .tab2selected ,#item_335 
 .tab2selected {
 width: 77px;
 text-align: center;
 color: rgb(3, 122, 207) !important;
 padding-top: 5px;
 font-family: 宋体;
 font-size: 12px;
 font-style: normal;
 font-weight: 700 !important;
 vertical-align: middle;
 cursor: pointer;
 background-image: url("http://192.168.1.236:8093/page/resource/userfile/image/ecology8/tabbg3_wev8.png") !important;
 background-repeat: no-repeat;
 }
#item_220 
 .font:hover ,#item_265 
 .font:hover ,#item_266 
 .font:hover ,#item_267 
 .font:hover ,#item_58 
 .font:hover ,#item_59 
 .font:hover ,#item_222 
 .font:hover ,#item_66 
 .font:hover ,#item_335 
 .font:hover {
  }
#item_220 
 .header:hover ,#item_265 
 .header:hover ,#item_266 
 .header:hover ,#item_267 
 .header:hover ,#item_58 
 .header:hover ,#item_59 
 .header:hover ,#item_222 
 .header:hover ,#item_66 
 .header:hover ,#item_335 
 .header:hover {
  }

;

</style>  
  	
  	
  	<script language="javascript" src="../js/xmlextras_wev8.js"></script>
<script type="text/javascript" src="../js/jscolor_wev8.js"></script>

<link type="text/css" rel="stylesheet" href="../css/wui_wev8.css">
<link type="text/css" rel="stylesheet" href="../css/e8_zDialog_btn_wev8.css">
<link rel="stylesheet" href="../css/default2_wev8.css" type="text/css">
<script type="text/javascript" src="../js/default_wev8.js"> </script>
  














<!-- bpf start 2013-10-23  -->	
		
		<style type="text/css">
			.popDiv{
				float:right;
				position:absolute;
				top:0px;
				right:0px;
				display:none;
				border:#D8D8D8 1px solid;
			}
			.shadowDiv{
				position:absolute;
				float:left;
				top:0px;
				right:0px;
				width:11px;
				height:7px;
				z-index:3;
				display:none;
				background-image:url(/images/ecology8/angle_wev8.png);
				background-repeat:no-repeat;
			}
		</style>
		
		<div class="shadowDiv" id="shadowBorderDiv"></div>




<script language="javascript">

function setBorder(){
	var a = jQuery("span.selectedTitle");
	var div = jQuery("#shadowBorderDiv");
	//div.show();
	var _top = a.offset().top+a.height();
	var left = a.offset().left;
	//div.width(a.width());
	var width = a.width()+parseInt(a.css("padding-left").replace("px",""))+parseInt(a.css("padding-right").replace("px",""));
	if(a.offset().top==0){
		div.css("top",_top-5);
		div.css("left",left+(width/2)-7);
	}else{
		div.each(function(){jQuery.dequeue(this,'fx');}).animate({top:_top-1,left:left-1}, 1500);
	}
}

jQuery(document).ready(function(){
	window.setTimeout(function(){
		try{
			try{
				preDo();
			}catch(e){}
			//setBorder();
			try{
				afterDo();
			}catch(e){}
		}catch(e){jQuery("#shadowBorderDiv").hide();}
	},10);
	
	jQuery(window).scroll(
		function(){
			try{
				//setBorder();
			}catch(e){}
		}
	);
	
	jQuery("#hoverBtnSpan").bind("click",function(e){
		try{
			//jQuery("#shadowBorderDiv").hide();
			setBorder();
		}catch(e){jQuery("#shadowBorderDiv").hide();}
	});
	
});

function startMouseMove(){
	var handle = null;
	jQuery(document).bind("mousemove",function(e){
		var event = e || window.event;
		var pageX = e.pageX;
		var width = jQuery(document).width();
		//console.log(jQuery(document).width()+"::"+e.pageX+"::"+handle);
		if(Math.abs(pageX-width)<=50){
	if(handle==null){
		   handle=window.setTimeout(function(){
			jQuery("#popDiv").show("slow");
	},1000);
	}
		}else{
		clearTimeout(handle);
		handle=null;
	}
	});
	jQuery("#popDiv").hover(function(){},function(){
		jQuery("#popDiv").hide("slow");
	});
}


function showHelp(){
    /*var pathKey = this.location.pathname;
    //alert(pathKey);
    if(pathKey!=""){
        pathKey = pathKey.substr(1);
    }*/
    var pathKey = "";
	var __url = this.location.href;
	try {
		var __regexp = new RegExp("http://[^/]+", "gmi");
		__url = __url.replace(__regexp, '');
	} catch (e) {}
	pathKey = encodeURIComponent(__url);
    var operationPage = "http://help.e-cology.com.cn/help/RemoteHelp.jsp";
    var screenWidth = window.screen.width*1;
    var screenHeight = window.screen.height*1;

    var isEnableExtranetHelp = 1;
    if(isEnableExtranetHelp==1){
    	//operationPage = "http://e-cology.com.cn/formmode/apps/ktree/ktreeHelp.jsp";
    	operationPage = 'http://www.e-cology.com.cn/formmode/apps/ktree/ktreeHelp.jsp';
    }
    window.open(operationPage+"?pathKey="+pathKey,"_blank","top=0,left="+(screenWidth-800)/2+",height="+(screenHeight-90)+",width=1000,status=no,scrollbars=yes,toolbar=yes,menubar=no,location=no");
}
function openFavouriteBrowser()
{  
	
	var BacoTitle = jQuery("#BacoTitle");
	var pagename = "";
	var navName = "";
	var fav_uri = "%2Fhomepage%2FHomepage.jsp";
	var fav_querystring = "isfromportal%3D1%5EsubCompanyId%3D5%5Eisfromhp%3D0%5Ehpid%3D8";
	
	try
	{
			var e8tabcontainer = jQuery("div[_e8tabcontainer='true']",parent.document);
			if(e8tabcontainer.length > 0) 
			{
				fav_uri = escape(parent.window.location.pathname);
				fav_querystring = escape(parent.window.location.search);
				navName = e8tabcontainer.find("#objName").text();
			}else{
				navName = jQuery("#objName").text();
			}
			//alert(fav_uri+"  "+fav_querystring)
	}
	catch(e)
	{
		
	}
	if(BacoTitle)
	{
		pagename = BacoTitle.text();
	}
	if(!pagename){
		pagename = navName;
	}
	pagename = escape(pagename); 
	//window.showModalDialog('/systeminfo/BrowserMain.jsp?url=/favourite/FavouriteBrowser.jsp&fav_pagename='+pagename+'&fav_uri='+fav_uri+'&fav_querystring='+fav_querystring+'&mouldID=doc');
	//var dialogurl = '/systeminfo/BrowserMain.jsp?url=/favourite/FavouriteBrowser.jsp&fav_pagename='+pagename+'&fav_uri='+fav_uri+'&fav_querystring='+fav_querystring+'&mouldID=doc';
	var dialogurl = '/systeminfo/BrowserMain.jsp?url=/favourite/FavouriteBrowser.jsp&fav_uri='+fav_uri+'&mouldID=doc';  //fav_pagename和fav_querystring不通过url传值，而通过session获取，避免url过长时，导致问题
	var dialog = new window.top.Dialog();
	dialog.currentWindow = window;
	dialog.URL = dialogurl;
	dialog.Title = "收藏夹";
	dialog.Width = 550 ;
	dialog.Height = 600;
	dialog.Drag = true;
	dialog.show();
}
</script>



<input name="ispagesetting" type="hidden" value="false">






<style type="text/css" id="styleMenu">
		.navigate{
			color:#E2E7ED;/*前景色*/
			background:url('/images/homepage/navgatebg_wev8.gif');

            padding-left:'5px';
          	font-style:;
			font-weight:;
			font-size:		12px;
			FONT-FAMILY: "微软雅黑!important";
			border-left:0;    
			
		}
		.divMenu {   		
			float:			left;
			padding:		6px 6px 6px 6px;
			z-index:		1;
			top:			0;
			border-right-width:1px;
			border-right-style:solid;
			border-right-color:#235EA7;/*边框颜色*/
			position:		relative;
			height:16;
			_height:28;
			background:url('/images/homepage/navgatebg_wev8.gif');

			
		}
		.divMenuSelected {
			background:#235EA7;       /*背景色*/
			
			color:#FFFFFF;   
			font-style:;
			font-weight:;
		   	font-size:		12px;
			FONT-FAMILY: "微软雅黑!important";
			float:			left;
			padding:		6px 6px 6px 6px;
			
			border-right-width:1px;
			border-right-style:solid;
			border-right-color:#235EA7;/*边框颜色*/
			z-index:		1;
			top:			0;
			position:		relative;
			height:16;
			_height:28;
		}

		.subNavigate{
            z-index:		2;
            color:#E2E7ED;/*前景色*/
			border-right-width:1px;
			border-right-style:solid;
			border-right-color:#235EA7;/*边框颜色*/
			font-style:;
			font-weight:;
			font-size:		12px;
			FONT-FAMILY: "微软雅黑!important";
			border-bottom:0;  
			
			filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
		}
		.divSubMenu {   
            background:url('/images/homepage/navgatebg_wev8.gif');

			cursor:pointer;
			float:none;
	
			padding:3px 1px 1px 1px;
			border-bottom:	1px solid #235EA7;
			
		}
		.divSubMenuSelected {
			background:#235EA7;       /*背景色*/
	
			color:#FFFFFF;  		
			font-style:normal;&#13;
			font-weight:bold;&#13;
			font-size:		12px;
			FONT-FAMILY: "微软雅黑!important"; 
			font-style:;
			font-weight:;  
			cursor:pointer;
			float:none;
			
			padding:3px 1px 1px 1px;
			border-bottom:	1px solid #235EA7;
			filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
		}
        .screen{
            width:100%;
            height:100%;
            overflow:hidden;
            position:relative;
        }
        .screen li{ width:200px; height:120px; overflow:hidden; float:left;}
        .screen ul{ position:absolute; left:0; top:0; width:3000px;padding:0px;}
        .all ol{ position:absolute; right:10px; bottom:10px; line-height:20px; text-align:center;
            display: none;}
        .all ol li{ float: left; width: 15px; height: 15px; background: #fff;  margin-left: 5px; cursor: pointer; font-size: 10px; font-family: Verdana; line-height: 15px; border-radius: 15px; }
        .all ol li.current{ background:yellow;}
	</style>
<input type="hidden" id="needShow" name="needShow" value="0">

<script language="JavaScript">
var _parentmenuDocument = document;
var _menuDocument = document;
var _menuWindow = window;
var __isReloadPage = true;
var __isParentPage = false;
//当前使用的主题
var GLOBAL_CURRENT_THEME = "ecology8";
//当前主题使用的皮肤
var GLOBAL_SKINS_FOLDER = "default";
function setMenuBoxHeightSelf(){
	try{
		var objhasTopTitleExtInput = _menuDocument.getElementById("hasTopTitleExtInput");
		if(objhasTopTitleExtInput!=null && objhasTopTitleExtInput.value=="1"){
			_menuDocument.getElementById("rightMenu").style.visibility = "hidden";
			_menuDocument.getElementById("rightMenu").style.display="none";
		}
	}catch(e){}
	var menuCount = "4";
	var bodyWidth = _menuWindow._menuDocument.body.offsetWidth;
	var menuCountLine = bodyWidth/160>1 ? Math.ceil(bodyWidth/160)-1 : Math.ceil(bodyWidth/160);
	var lineCount = Math.ceil(menuCount/menuCountLine);
	var h = 24*lineCount;
	//_menuWindow.status = "bodyWidth:"+bodyWidth+" | menuCountLine:"+menuCountLine+" | lineCount:"+lineCount;
	_menuDocument.getElementById("rightMenuIframe").height = h + "px";

	_menuWindow.frames["rightMenuIframe"]._menuDocument.getElementById("menuTable").style.height = h + "px";
	
	try{
		_menuDocument.getElementById("divTopMenu").style.border = "0px";
	}catch(e){}
	try{
		_menuDocument.getElementById("rightMenu").style.border = "0px";
	}catch(e){}
	
}
var __parent = window;

function writeIframe(evt,__document,_contentWindow)
{	 try{
		if(!!__document){
			_menuDocument = __document;
			_parentDocument = __document;
			rightMenu = _menuDocument.getElementById("rightMenu");
		}
		if(!!_contentWindow){
			__parent = _contentWindow;
			parent.__parent = _contentWindow;
		}
		var shtmlTemp = "<div id='menuTable' name='menuTable' unselectable='on' class='b-m-mpanel' style='background-color:rgb(249,249,249);'><div id='menuItemDivId0' unselectable='on' class='b-m-item'  onmouseover=\"this.className=\'b-m-ifocus\'\" onmouseout=\"this.className=\'b-m-item\'\"   ><div class='b-m-ibody' unselectable='on'><nobr unselectable='on'><img width=16   src='/wui/theme/ecology8/skins/default/contextmenu/default/1_wev8.png' align='absmiddle'><button  onclick='javascript:parent.onChanageAllStatus(this);parent.hideRightClickMenu();'   style='width:120px;' title='<span id=spanStatus status=show>全部收缩</span>'><span id=spanStatus status=show>全部收缩</span></button></nobr></div></div><div id='menuItemDivId1' unselectable='on' class='b-m-item'  onmouseover=\"this.className=\'b-m-ifocus\'\" onmouseout=\"this.className=\'b-m-item\'\"   ><div class='b-m-ibody' unselectable='on'><nobr unselectable='on'><img width=16   src='/wui/theme/ecology8/skins/default/contextmenu/default/2_wev8.png' align='absmiddle'><button  onclick='javascript:parent.showColDialog();parent.hideRightClickMenu();'   style='width:120px;' title='显示列定制'>显示列定制</button></nobr></div></div><div id='menuItemDivId2' unselectable='on' class='b-m-item'  onmouseover=\"this.className=\'b-m-ifocus\'\" onmouseout=\"this.className=\'b-m-item\'\"   ><div class='b-m-ibody' unselectable='on'><nobr unselectable='on'><img width=16   src='/wui/theme/ecology8/skins/default/contextmenu/default/3_wev8.png' align='absmiddle'><button  onclick='javascript:parent.openFavouriteBrowser();parent.hideRightClickMenu();'   style='width:120px;' title='收藏'>收藏</button></nobr></div></div><div id='menuItemDivId3' unselectable='on' class='b-m-item'  onmouseover=\"this.className=\'b-m-ifocus\'\" onmouseout=\"this.className=\'b-m-item\'\"   ><div class='b-m-ibody' unselectable='on'><nobr unselectable='on'><img width=16   src='/wui/theme/ecology8/skins/default/contextmenu/default/4_wev8.png' align='absmiddle'><button  onclick='javascript:parent.showHelp();parent.hideRightClickMenu();'   style='width:120px;' title='帮助'>帮助</button></nobr></div></div></div>";
		if(!!_contentWindow){
			shtmlTemp = shtmlTemp.replace(/\bparent\./g,"__parent.");
		}
		var shtml = "<!DOCTYPE HTML><html><head><script>__parent=parent.__parent;<"+"/script><link href='/wui/theme/" + GLOBAL_CURRENT_THEME + "/skins/" + GLOBAL_SKINS_FOLDER + "/contextmenu/contextmenu_wev8.css' rel='stylesheet' type='text/css' /><link rel='stylesheet' href='/css/Weaver_wev8.css'></head><body leftmargin=0 topmargin=0 bottommargin=0  oncontextmenu='return false'>";
		shtml += shtmlTemp;	
		shtml += "</body></html>";
		if(_menuDocument.getElementById("rightMenuIframe")&&_menuDocument.getElementById("rightMenuIframe").contentWindow){
			if(!!_contentWindow){
				//_menuDocument.getElementById("rightMenuIframe").contentWindow.__parent = _contentWindow;
			}
			_menuDocument.getElementById("rightMenuIframe").contentWindow.document.writeln(shtml);
			_menuDocument.getElementById("rightMenuIframe").contentWindow.document.close(); 
			try{
			 	if(_menuDocument.getElementById("rightMenuIframe").contentWindow.document.getElementById("menuTable").innerHTML == ""){
					_menuDocument.getElementById("rightMenu").style.display = "none";
				}
			}catch(e){}
		}
		
		try{
			var pageId = jQuery("#pageId").val();
			if(!pageId || (!!jQuery("#pageId").attr("_showCol") && jQuery("#pageId").attr("_showCol").toLowerCase()=="false")){
				hiddenRCMenuItem(1);
			}
		}catch(e){}
		
		_menuWindow.setTimeout(function(){
			try{
				var menuCount = 0;
				jQuery("#menuTable", _menuDocument.getElementById("rightMenuIframe").contentWindow.document).children().each(function () {
				if (!jQuery(this).css("display") || jQuery(this).css("display").toLowerCase() != "none") {
					menuCount++;
				}
			});
			jQuery("#rightMenuIframe",_menuDocument).css("height", (menuCount * 22+6) + "px");
			}catch(e){
			}
		},2000);
	}catch(e){
		if(window.console)console.log(e,"RightClickMenu.jsp#writeIframe");
	}
}



//由原来的apXPDropDown.class转为直接用Button，2003-11-18杨国生。 end

</script>

<div id="rightMenu" name="rightMenu" style="z-index: 99999; position: absolute; visibility: hidden; display: none;" class="clickRightMenu">
<!--//由原来的apXPDropDown.class转为直接用Button，2003-11-18杨国生。 -->
<iframe id="rightMenuIframe" name="rightMenuIframe" frameborder="0" marginheight="0" marginwidth="0" hspace="0" vspace="0" scrolling="no" width="148px" height="96px" src="../html/saved_resource.html">
</iframe>
</div>

<script language="JavaScript">
//解决新流程界面在加载页面时，会出现顶部菜单先出现再消失的问题 Start
var needShow = false;
var rightMenuStr="#rightMenu";
var rightMenu = _menuDocument.getElementById("rightMenu");



function showRightClickMenuByHand(_left,_top){
	if(__isParentPage){
		_top += 60;
		_top -= jQuery(document).scrollTop();
	}
	jQuery("#rightMenu",_menuDocument).css("left", _left);
	jQuery("#rightMenu",_menuDocument).css("top", _top);
	jQuery("#rightMenu",_menuDocument).css("visibility", "visible");
	jQuery("#rightMenu",_menuDocument).show();	
}

var focus_e;
function showRightClickMenu(e){
		
		if(typeof(changePageMenuDiaplay)=="function"){
			changePageMenuDiaplay(2);
		}
        focus_e = _menuDocument.activeElement;
        var evt = e?e:(_menuWindow.event?_menuWindow.event:null);
        var target = null;
        if(_menuWindow.event){
        	target = evt.srcElement;
        }else{
        	target = evt.target;
        }
        var exceptTop = 0;
        if(jQuery(target).closest("div.e8_boxhead").length==0 && __isParentPage){
        	exceptTop = 60;
        }
		var rightedge=_menuDocument.body.clientWidth-evt.clientX
		var bottomedge=_menuDocument.body.clientHeight-evt.clientY
		var scrolltop =  get_scrollTop_of_body();
		if(__isParentPage){
			scrolltop = 0;
		}
		if(rightedge>evt.clientX){
			jQuery(rightMenuStr,_menuDocument).css("left",_menuDocument.body.clientWidth-rightedge);
		}else{
			jQuery(rightMenuStr,_menuDocument).css("left",evt.clientX-_menuDocument.getElementById("rightMenu").offsetWidth);
		}
		if(bottomedge>evt.clientY){
			jQuery(rightMenuStr,_menuDocument).css("top",evt.clientY+scrolltop+exceptTop);
		}else{
			jQuery(rightMenuStr,_menuDocument).css("top",_menuDocument.body.clientHeight+scrolltop-bottomedge+exceptTop);
		}
		if(_menuDocument.getElementById("rightMenu").offsetHeight>bottomedge){
			    if(evt.clientY>(_menuDocument.body.clientHeight/2)){//当页面高度小于菜单高度，那么在页面的上面二分之一的地方点击，菜单显示上面部分，在页面下面部分点击，菜单显示下面部分
					jQuery(rightMenuStr,_menuDocument).css("top",_menuDocument.body.clientHeight+scrolltop-_menuDocument.getElementById("rightMenu").offsetHeight+exceptTop);
			    }
		}

		_menuDocument.getElementById("rightMenu").style.visibility="visible";
		jQuery(rightMenuStr,_menuDocument).show();	
		try{
			evt.stopPropagation();
		}catch(e){
			evt.cancelBubble = true
			evt.returnValue = false; 
		}
		return false;
}
function get_scrollTop_of_body(){ 
        var scrollTop; 
        if(typeof _menuWindow.pageYOffset != 'undefined'){
            scrollTop = _menuWindow.pageYOffset; 
        }else if(typeof _menuDocument.compatMode != 'undefined' && _menuDocument.compatMode != 'BackCompat')        { 
            scrollTop = _menuDocument.documentElement.scrollTop; 
        }else if(typeof _menuDocument.body != 'undefined'){ 
            scrollTop = _menuDocument.body.scrollTop; 
        } 
        return scrollTop; 
}
function hideRightClickMenu(){
	if(jQuery("#modeTitle",_menuWindow.parent._menuDocument).length>0){
		jQuery("#modeTitle",_menuWindow.parent._menuDocument).parent().css("display","none");
	}			
	
	try{
		_menuDocument.getElementById("rightMenu").style.visibility="hidden";
	}catch(e){}
	//rightMenu.style.display=""; //update by liaodong for qc62834 in 20130913
	jQuery(rightMenuStr).hide();
	
}

var isIEBrowser ="false";
var __closeRightMenu__ = false;
	
	_menuDocument.getElementById("rightMenu").className = "clickRightMenu";
	
		_menuDocument.oncontextmenu=showRightClickMenu
		
		_menuDocument.body.onclick = hideRightClickMenu;
	
	if(isIEBrowser=="true"){
		_menuDocument.getElementById("rightMenu").style.left = _menuDocument.body.clientWidth-_menuDocument.getElementById("rightMenu").offsetWidth-200;
	}else{
		_menuDocument.getElementById("rightMenu").style.left = _menuDocument.body.clientWidth-_menuDocument.getElementById("rightMenu").offsetWidth-180;
	}
	_menuDocument.getElementById("rightMenu").style.top = 50;

	
	_menuDocument.getElementById("rightMenu").style.visibility="hidden";
	if (!_menuWindow.ActiveXObject) {
		_menuDocument.getElementById("rightMenu").style.display="none";
	}
	

//alert(rightMenu.style.visibility);
//alert(rightMenu.innerHTML);

 function viewSourceUrl()
{

    prompt("",location);

}
var mouse_event;
function onRCMenu_copy(){
	var copy_text = _menuDocument.selection.createRange().text;
	//alert(copy_text);
	try{
		if(copy_text==''){
			copy_text = doccontentifm._menuDocument.selection.createRange().text;
		}
	}catch(e){
		copy_text = ShowSelection();
	}
	_menuWindow.clipboardData.setData("Text", copy_text);
	_menuDocument.getElementById("rightMenu").style.visibility="hidden";
	//rightMenu.style.display="none";
}

function ShowSelection()    {
	if(_menuDocument.getElementById('FCKiframefieldid')){
		 return _menuDocument.getElementById(_menuDocument.getElementById('FCKiframefieldid').value).contentWindow.document.selection.createRange().text;       
	}else{
		return "";
	}
}

function onRCMenu_plaster(){

	if(_menuWindow.clipboardData.getData("Text") != null){
		try{
			var plaster_text = _menuWindow.clipboardData.getData("Text");
			//e = _menuDocument.activeElement;
			//e = body.focus;
            //alert(focus_e.tagName);
			if((focus_e && focus_e.tagName=="INPUT" && focus_e.type=="text")||(focus_e && focus_e.tagName=="TEXTAREA")){
				var selectText = getSelectTxt();
				var pos = getCursorPos(focus_e);
				if(pos==0){
					focus_e.value=focus_e.value.replace(selectText,"");
					focus_e.value = plaster_text+focus_e.value;
				}else if(pos==focus_e.value.length){
					focus_e.value=focus_e.value.replace(selectText,"");
					focus_e.value = focus_e.value+plaster_text;
				}else if(pos>0&&pos<focus_e.value.length){
					focus_e.value=focus_e.value.replace(selectText,"");
					var tmp1 = focus_e.value.substring(0,pos);
					var tmp2 = focus_e.value.substring(pos,focus_e.value.length);
					focus_e.value = tmp1+plaster_text+tmp2;
				}
				
			}
			_menuDocument.getElementById("rightMenu").style.visibility="hidden";
			_menuDocument.getElementById("rightMenu").style.display="none";
		}catch(e){
			alert(e)
        }
	}
}

function getSelectTxt(){
	var selectTxt;
	selectTxt=document.selection.createRange().text;    
	return selectTxt;
}

function getCursorPos(obj)     
{   
	obj.focus();   
	var currentRange=document.selection.createRange();   
	var workRange=currentRange.duplicate();   
	obj.select();   
	var allRange=document.selection.createRange();   
	var pos=0;   
	while(workRange.compareEndPoints("StartToStart",allRange)>0)   
	{   
	  workRange.moveStart("character",-1);   
	  pos++;   
	}   
	currentRange.select();   
	return   pos;   
}   
function getCursorPos1(inpObj){
    if(navigator.userAgent.indexOf("MSIE") > -1) { // IE
    		alert("ie")
            var range = document.selection.createRange();
            range.text = '';
            alert(inpObj.createTextRange())
            range.setEndPoint('StartToStart',inpObj.createTextRange());
            return range.text.length;
        } else {
            return inpObj.selectionStart;
        }
}

function showTDTitle(o)
{
	o.title = o.innerText;
}
//显示指定序号的右键菜单 luow TD30081 TD30084
function showRCMenuItem(menuIntemIndex){
	var rightMenuIframeDocument = _menuDocument.getElementById("rightMenuIframe").contentWindow.document;
	rightMenuIframeDocument.getElementById('menuItemDivId'+menuIntemIndex).style.display="";
	var menuCount = 0; 
	jQuery("#menuTable", rightMenuIframeDocument).children().each(function () {
		if (jQuery(this).css("display") != null && jQuery(this).css("display").toLowerCase() != "none") {
			menuCount++;
		}
	});
	
	
	jQuery("#rightMenuIframe").css("height", (menuCount * 22+6) + "px");
}
//隐藏指定序号的右键菜单 luow TD30081 TD30084
function hiddenRCMenuItem(menuIntemIndex){	
	var rightMenuIframeDocument = _menuDocument.getElementById("rightMenuIframe").contentWindow.document;
	
	jQuery("#menuItemDivId"+menuIntemIndex,rightMenuIframeDocument).hide();
	
	var menuCount = 0; 
	jQuery("#menuTable", rightMenuIframeDocument).children().each(function () {
		if (!jQuery(this).css("display") || jQuery(this).css("display").toLowerCase() != "none") {
			menuCount++;
		}
	});
	
	jQuery("#rightMenuIframe").css("height", (menuCount * 22+6) + "px");
}

//writeIframe();
    if (_menuWindow.addEventListener){
	    _menuWindow.addEventListener("load", writeIframe, false);
	}else if (_menuWindow.attachEvent){
	    _menuWindow.attachEvent("onload", writeIframe);
	}else{
	    _menuWindow.onload=writeIframe;
	}
function __openFavouriteBrowser(flag) {
	___openFavouriteBrowser(flag);
}

function __showHelp(flag) {
	if (typeof(showHelp) == 'function') {
		showHelp();
	} else {
		___showHelp(flag);
	}
}

function ___openFavouriteBrowser(flag) {  
	var BacoTitle = parent.jQuery("#objName");
	if (!!!BacoTitle[0]) {
		BacoTitle = parent.jQuery("#e8_navtab");
	}
	var pagename = "";
	
	var fav_uri = "";
	var fav_querystring = "";
	
	var __url = parent.window.location.href;
	try {
		var __regexp = new RegExp("http://[^/]+", "gmi");
		__url = __url.replace(__regexp, '');
	} catch (e) {
	}
	if (__url.indexOf("?") == -1) {
		fav_uri = __url;
	} else {
		fav_uri = escape(__url.substring(0, __url.indexOf("?")));
		fav_querystring = escape(escape(__url.substr(__url.indexOf("?") + 1)));
	}
	try {
		var e8tabcontainer = jQuery("div[_e8tabcontainer='true']",parent.document);
		if(e8tabcontainer.length > 0)  {
		    fav_uri = escape(parent.window.location.pathname);
			fav_querystring = (escape(jQuery.trim(parent.window.location.search)));
		}
	} catch(e) {}
	if (BacoTitle) {
		pagename = BacoTitle.text();
	}
	
	if (flag == -9) {
		var __reqname = jQuery("input[name=requestname]").val();
		if (!!__reqname && __reqname != "") {
			pagename = __reqname;
		}
	}
	pagename = escape(jQuery.trim(pagename)); 
	
	var dialogurl = '/systeminfo/BrowserMain.jsp?url=/favourite/FavouriteBrowser.jsp&fav_pagename='+pagename+'&fav_uri='+fav_uri+'&fav_querystring='+fav_querystring+'&mouldID=doc';
	var dialog = new window.top.Dialog();
	dialog.currentWindow = window;
	dialog.URL = dialogurl;
	dialog.Title = "收藏夹";
	dialog.Width = 550 ;
	dialog.Height = 600;
	dialog.Drag = true;
	dialog.show();
}

function ___showHelp(flag){
    /*var pathKey = this.location.pathname;
    //alert(pathKey);
    if(pathKey!=""){
        pathKey = pathKey.substr(1);
    }*/
    var pathKey = "";
	var __url = this.location.href;
	try {
		var __regexp = new RegExp("http://[^/]+", "gmi");
		__url = __url.replace(__regexp, '');
	} catch (e) {}
	pathKey = encodeURIComponent(__url);
    var operationPage = "http://help.e-cology.com.cn/help/RemoteHelp.jsp";
    var screenWidth = window.screen.width*1;
    var screenHeight = window.screen.height*1;
    var isEnableExtranetHelp = 1;
    if(isEnableExtranetHelp==1){
    	//operationPage = "/formmode/apps/ktree/ktreeHelp.jsp";
    	operationPage = 'http://www.e-cology.com.cn/formmode/apps/ktree/ktreeHelp.jsp';
    }
    window.open(operationPage+"?pathKey="+pathKey,"_blank","top=0,left="+(screenWidth-800)/2+",height="+(screenHeight-90)+",width=1000,status=no,scrollbars=yes,toolbar=yes,menubar=no,location=no");
}
</script>





<script type="text/javascript">
//用户语言
var languageid = '7'
</script>
<script type="text/javascript" src="../js/highslide-full_wev8.js"></script>
<script type="text/javascript" src="../js/simplehrm_wev8.js"></script>
<script type="text/javascript" src="../js/messagejs_wev8.js"></script>
<script language="javascript" src="../js/jquery.qrcode-0.7.0_wev8.js"></script>
<!--[if IE]> 
<script src="/qrcode/js/html5shiv_wev8.js"></script>
<script src="/qrcode/js/excanvas.compiled_wev8.js"></script>
<![endif]-->
<script type="text/javascript">
	function getImageResult(o)
	{
		hs.graphicsDir = '/js/messagejs/highslide/graphics/';
		hs.outlineType = 'rounded-white';
		hs.fadeInOut = true;
		hs.headingEval = 'this.a.title';
		var hrefimg = document.getElementById("resourceimghref").href;
		if(hrefimg.indexOf("javascript")!=-1)
		{
			void(0);
			return false;
		}
		else
		{
			return hs.expand(o);
		}
	}

function createQCode(){
	if(jQuery("#showSQRCodeDiv").is(":hidden"))
		jQuery("#showSQRCodeDiv").show();
	else
		jQuery("#showSQRCodeDiv").hide();
}

function initSrc(){
	if(jQuery("#result2").html()=="（男）"){
		jQuery("#resourceimg").attr("src","/images/messageimages/temp/man_wev8.png");	
		jQuery("#resourceimg").parent().attr("href","/images/messageimages/temp/man_wev8.png");
	}else if(jQuery("#result2").html()=="（女）"){
		jQuery("#resourceimg").attr("src","/images/messageimages/temp/women_wev8.png");	
		jQuery("#resourceimg").parent().attr("href","/images/messageimages/temp/women_wev8.png");
	}
}
</script>
<style type="text/css">
<!--
.STYLE4 {
	FONT-FAMILY: Verdana;
	font-size: 14px;
	cursor: hand;
}

.STYLE6 {
	FONT-FAMILY: Verdana;
	FONT-SIZE: 12px;
}

.STYLE61 {
	FONT-FAMILY: Verdana;
	FONT-SIZE: 12px;
	color: #000000;
}

.simplehrmhead {
	vertical-align:baseline;
}
#mainsupports {
	position: absolute;
	font-size: 12px;
	color: #929393;
	display: none;
	z-index: 1;
}

#closetext {
	float: right;
	margin-right: 20px;
}

#mainsupports li a:link {
	color: #2a788e;
	font-size: 12px;
	text-decoration: none;
}

#mainsupports li a:visited {
	color: #227086;
	font-size: 12px;
	text-decoration: none;
}

#mainsupports li a:hover {
	color: #FFFFFF;
	font-size: 12px;
	text-decoration: none;
}

#resourceimg {
	width: 198px;
	height: 293px;
	margin-top: 0px;
}
-->
</style>
<!-- 这里改了z-index(+2),因为UE编辑器会遮住弹窗 -->
<div id="mainsupports" style="z-index:1999;background-color:#e4e4e4;">
	<table width="455px" height="293px" border="0" align="center" style="vertical-align: middle;" cellpadding="0" cellspacing="0">
		<tbody><tr>
			<td width="198px" valign="top">
				<a id="resourceimghref" href="javascript:void(0);" onclick="return getImageResult(this);" onfocus="this.blur()"><img id="resourceimg" src="../images/loading_wev8.gif" border="0" width="100%" height="100%" onerror="initSrc()"></a>
				<div style="position:absolute;top: 243px;background-image:url(&#39;/images/messageimages/temp/divbg_wev8.png&#39;);">
					<table style="width: 198px;height: 50px;text-align: center;vertical-align: middle;">
						<tbody><tr>
							<td><img src="../images/msn_wev8.png" onmouseover="javascript:this.src=&#39;/images/messageimages/temp/msnhot_wev8.png&#39;;" onmouseout="javascript:this.src=&#39;/images/messageimages/temp/msn_wev8.png&#39;;" onclick="javascript:openmessage();" title="发送短信"></td>
							<td><img src="../images/email_wev8.png" onmouseover="javascript:this.src=&#39;/images/messageimages/temp/emailhot_wev8.png&#39;;" onmouseout="javascript:this.src=&#39;/images/messageimages/temp/email_wev8.png&#39;;" onclick="javascript:openemail();" title="发送邮件"></td>
							<td><img src="../images/workplan_wev8.png" onmouseover="javascript:this.src=&#39;/images/messageimages/temp/workplanhot_wev8.png&#39;;" onmouseout="javascript:this.src=&#39;/images/messageimages/temp/workplan_wev8.png&#39;;" onclick="javascript:doAddWorkPlan();" title="新建日程"></td>
							<td><img src="../images/cowork_wev8.png" onmouseover="javascript:this.src=&#39;/images/messageimages/temp/coworkhot_wev8.png&#39;;" onmouseout="javascript:this.src=&#39;/images/messageimages/temp/cowork_wev8.png&#39;;" onclick="javascript:doAddCoWork();" title="新建协作"></td>
						</tr>
					</tbody></table>
				</div>
			</td>
			<td valign="top">
				<div style="position:absolute;top: -17px;left: 438px">
					<img id="closetext" style="cursor: hand;" src="../images/closeicno_wev8.png" onclick="javascript:closediv();">
				</div>
				<div id="showSQRCodeDiv" style="text-align: left;position:absolute;top: -20px;left: 350px; " onclick="createQCode()"></div>	
				<table width="257px" height="293px" border="0" style="padding-left: 16px;padding-top: 0px" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0">
					<tbody><tr height="40px">
						<td>
							<div>
								<img id="isonline" src="../images/online_wev8.png" width="19" height="19" style="vertical-align:top;">&nbsp;<span class="STYLE4" id="result1"></span>&nbsp;<span class="STYLE6" id="result2"></span> &nbsp;<span class="STYLE6" id="result13"></span>&nbsp;&nbsp;&nbsp;&nbsp;
								<img src="../images/qcode_wev8.png" width="19" height="19" style="vertical-align:middle;cursor: hand;" onclick="createQCode()">
							</div>
						</td>
					</tr>
					<tr style="height:1px!important;" class="Spacing">
						<td><div class="intervalDivClass"></div></td>
					</tr>
					<tr style="height:4px!important;">
						<td></td>
					</tr>
					<tr>
						<td>
							<table height="203px">
								<tbody><tr>
									<td style="WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;">
										<span class="STYLE6">部门&nbsp;:&nbsp;&nbsp;&nbsp;</span>
										<span class="STYLE61" id="result6"></span>
									</td>
								</tr>
								<tr>
									<td style="WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;">
										<span class="STYLE6">分部&nbsp;:&nbsp;&nbsp;&nbsp;</span>
										<span class="STYLE61" id="result9"></span>
									</td>
								</tr>
								<tr>
									<td style="WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;">
										<span class="STYLE6">岗位&nbsp;:&nbsp;&nbsp;&nbsp;</span>
										<span class="STYLE61" id="result10"></span>
									</td>
								</tr>
								<tr>
									<td style="WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;">
										<span class="STYLE6">上级&nbsp;:&nbsp;&nbsp;&nbsp;</span>
										<span class="STYLE61" id="result7"></span>
									</td>
								</tr>
								<tr>
									<td style="WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;">
										<span class="STYLE6">状态&nbsp;:&nbsp;&nbsp;&nbsp;</span>
										<span class="STYLE61" id="result11"></span>
									</td>
								</tr>
								<tr>
									<td style="WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;">
										<span class="STYLE6">手机&nbsp;:&nbsp;&nbsp;&nbsp;</span>
										<span class="STYLE61" id="result3"></span>
									</td>
								</tr>
								<tr>
									<td style="WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;">
										<span class="STYLE6">电话&nbsp;:&nbsp;&nbsp;&nbsp;</span>
										<span class="STYLE61" id="result4"></span>
									</td>
								</tr>
								<tr>
									<td style="WORD-WRAP: break-word;TEXT-VALIGN: left;word-break:break-all;">
										<span class="STYLE6">邮件&nbsp;:&nbsp;&nbsp;&nbsp;</span>
										<span class="STYLE61" id="result5"></span>
									</td>
								</tr>
							</tbody></table>
						</td>
					</tr>
					<tr height="42px">
						<td align="right" valign="middle" style="padding-right: 12px">
							<span class="STYLE6" id="result0"></span>
						</td>
					</tr>
				</tbody></table>
			</td>
		</tr>
	</tbody></table>
</div>
 

<!--菜单TABLE begin-->

<!--Debug Div-->
<textarea id="txtDebug" style="width:100%;height:200px;display:none"></textarea>

<!--Show Div-->
<div id="divInfo" style="border:1px solid #8888AA; background:white;display:none;position:absolute;padding:5px;posTop:expression(document.body.offsetHeight/2+document.body.scrollTop-50);posLeft:expression(document.body.offsetWidth/2-50);z-index:100;"></div>



<!--Content Table-->
<input type="hidden" value="btnWfCenterReload" id="btnWfCenterReload" name="btnWfCenterReload" onclick="elmentReLoad(8)">


	<table id="container_Table" width="100%">
	<tbody><tr>
	
		<td>
		<div id="Element_Container" style="width:100%;display:block;vertical-align:top;height:100%;margin-left: 1px;">
	 
		<span id="spanContent" style=" %&gt;">		
			   
			 <style type="text/css">
#Container{
			width:99%;
			margin-left:10px;
		}		
.item{
	margin-top:10px;
}
.group{	
	margin-right:10px;
}
</style>
<table id="Container" cellpadding="0" cellspacing="0">
	<tbody><tr>
		<td width="70%" style="" valign="top">
			<table width="100%" valign="top" border="0" cellpadding="0" cellspacing="0">
				<tbody><tr>
					<td colspan="2" valign="TOP" class="ui-droppable"> 
						<div class="group" areaflag="A">
								<!---------Element268:自定义页面------------->
<div class="item" id="item_268" eid="268" style="position:relative;margin-top:10px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="29" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="true">
<div class="header" issetting="false" sharelevel="1" style="width:auto;_width:100%;position:relative;display:none" id="header_268">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_268"><img border="0" src="../images/29_wev8.gif" onclick="onShowOrHideE(268)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_268">自定义页面</span>
<span class="toolbar" style="position:absolute;" id="toolbar_268"> <ul><li><a style="display:block;float:left;" href="javascript:onRefresh(&#39;268&#39;,&#39;29&#39;)" title="刷新">    <img src="../images/refresh_wev8.png" display="" border="0"></a></li><li><a style="display:block;float:left;" id="more_268" morehref="/page/element/compatible/more.jsp?ebaseid=29&amp;eid=268" href="javascript:openFullWindowForXtable(&#39;/page/element/compatible/more.jsp?ebaseid=29&amp;eid=268&#39;)"><img class="img_more" id="imgMore" border="0" src="../images/more_wev8.png" display="" title="更多"></a></li></ul><style>#header_268 {display:none}</style></span>
<span class="toolbarSub" id="toolbarSub_268"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_268"><div class="content_view" >
<!-- 判断元素是否可以独立显示，引入样式 -->
<div id="titleContainer_268" style="border: 0px; width: 100%; position: relative; overflow: hidden; display: none; background-image: url(&quot;http://e8.weaver.com.cn/page/resource/userfile/image/ecology8/tabbg1_wev8.png&quot;);">

<div id="tabnavprev_268" style="position: relative; float: left; left: -5px; top: -5px; display: none;" class="picturebackhp" onclick="backMarqueeDiv7(&#39;#tabContainer_268&#39;);">&nbsp;</div>

<div id="tabContainer_268" class="tab2" style="width:100%;overflow:hidden;display:none;float:left;">
	<table height="32" width="77" cellspacing="0" cellpadding="0" border="0" style="table-layout:fixed;">
		<tbody><tr>

					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" id="tab_268" tabid="1" class="tab2selected" >111</td>

		</tr>
	</tbody></table>
</div>


    <div id="tabnavnext_268" style="position: relative; float: left; right: -3px; top: -6px; display: none;" class="picturenexthp" onclick="nextMarqueeDiv7(&#39;#tabContainer_268&#39;);">&nbsp;</div>
	<div class="optoolbar" style="position: absolute; float: right; top: 0px; bottom: 0px; right: 0px; padding-top: 6px;">
	<ul style="list-style: none; overflow: hidden;"><li style="overflow: hidden; float: left; margin-right: 5px;"><a style="display:block;float:left;" href="javascript:onRefresh(&#39;268&#39;,&#39;29&#39;)" title="刷新">    <img src="../images/refresh_wev8.png" display="" border="0"></a></li><li style="overflow: hidden; float: left; margin-right: 5px;"><a style="display:block;float:left;" id="more_268" morehref="/page/element/compatible/more.jsp?ebaseid=29&amp;eid=268" href="javascript:openFullWindowForXtable(&#39;/page/element/compatible/more.jsp?ebaseid=29&amp;eid=268&#39;)"><img class="img_more"border="0" src="../images/more_wev8.png" display="" title="更多"></a></li></ul></div>
</div>
<div id="tabContant_268">
    <!--轮播图-->
<iframe id="ifrm_268" name="ifrm_268" border="0" frameborder="no" noresize="NORESIZE" scrolling="auto" width="100%" height="220" src="./lunbo.html"></iframe>
</div>
</div>

<div style="text-align:right;" id="footer_268">

</div>
</div>
</div>

<!---------Element58:------------->
<div class="item" id="item_58" eid="58" style="position:relative;margin-top:0px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="8" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="false">
<div class="header" issetting="false" sharelevel="" style="width:auto;_width:100%;position:relative;display:block!important;" id="header_58">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_58"><img border="0" src="../images/workflow.png" onclick="onShowOrHideE(58)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_58"><span id="count_58"></span></span>
<span class="toolbar" style="position:absolute;" id="toolbar_58"> <ul></ul></span>
<span class="toolbarSub" id="toolbarSub_58"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_58"><div class="content_view" style="overflow:auto;height:190px;">




















































<!-- 判断元素是否可以独立显示，引入样式 -->




<style type="text/css" rel="STYLESHEET">
.picturebackhp 
{
    width: 18px;
    height: 32px;
    float:left;
    background: transparent url(/page/element/Picture/resource/image/scroll_left_wev8.gif) no-repeat 0 0;
}
.picturenexthp 
{
    width: 18px;
    height: 32px;
    float:left;
    background: transparent url(/page/element/Picture/resource/image/scroll_right_wev8.gif) no-repeat 0 0;
}
</style>




<div id="titleContainer_58" style="border: 0px; width: 100%; overflow: hidden; position: relative; background-image: url(&quot;http://192.168.1.236:8093/page/resource/userfile/image/ecology8/tabbg1_wev8.png&quot;);">

<div id="tabnavprev_58" style="position: relative; float: left; left: -5px; top: -6px; display: none;" class="picturebackhp" onclick="backMarqueeDiv8(&#39;#tabContainer_58&#39;);">&nbsp;</div>


<div id="tabContainer_58" class="tab2" style="width: 1299px; overflow: hidden; float: left; margin-left: 0px; margin-right: 0px;">
	<table height="32" width="616" cellspacing="0" cellpadding="0" border="0" style="table-layout:fixed;">
		<tbody><tr>
			
				
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" title="待办" id="tab_58_1" tabid="1" class="tab2unselected">
					待办
					</td>
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" title="已办" id="tab_58_2" tabid="2" class="tab2unselected">
					已办
					</td>
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" title="跟踪" id="tab_58_3" tabid="3" class="tab2unselected">
					跟踪
					
					</td><td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" title="已完成" id="tab_58" tabid="4" class="tab2selected">
					已完成
					</td>
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" title="抄送" id="tab_58_5" tabid="5" class="tab2unselected">
					抄送
					</td>
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" title="督办" id="tab_58_6" tabid="6" class="tab2unselected">
					督办
					</td>
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" title="反馈" id="tab_58_7" tabid="7" class="tab2unselected">
					反馈
					</td>
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" title="超时" id="tab_58_8" tabid="8" class="tab2unselected">
					超时
					
					</td>
			
		</tr>
	</tbody></table>
</div>



    
    <div id="tabnavnext_58" style="position: relative; float: right; right: 0px; top: -6px; display: none;" class="picturenexthp" onclick="nextMarqueeDiv8(&#39;#tabContainer_58&#39;);">&nbsp;</div>




</div>

<div id="tabContant_58">
    
	



























































	  
<table style="" id="_contenttable_58" class="Econtent" width="100%">
   <tbody><tr valign="middle">
	 <td width="1px" valign="middle">
	 
	 </td>
	 <td width="*" valign="top">
		<table width="100%" class="elementdatatable">    
		
		<tbody><tr>
                <td width="8"></td>
				
			  
				<td class="reqdetail" width="*" title="公司收文流程-杨文元-2017-11-27" requestid="3547">
					<a href="javaScript:openFullWindowHaveBarForWF(&#39;/workflow/request/ViewRequest.jsp?requestid=3547&amp;isovertime=0&#39;,&#39;3547&#39;)"><font class="font"><font class="font"><span class="reqname" onclick="javaScript:setWorkFlowRefresh(58,8)">公司收文流程-杨文元-2017-11-27</span></font></font></a>

				</td>
			   
				
			   
				
				
			   

			   

			   
			   

			  

			
			    
				
			   
				
				
			   
				<td width="70"><a href="javascript:openhrm(4)" onclick="pointerXY(event);"><font class="font"><font class="font">杨文元</font></font></a></td>
			  

			   

			   
			   

			  

			
			    
				
			   
				
				
			   

			   

			   
			   
				<td width="76"><font class="font">2017-11-27</font></td>
			  

			  

			
			<td style="position:relative;width:10px;">
				<img class="imgdetail" style="cursor: pointer; position: absolute; right: 5px; top: 8px; display: none;" src="../images/req_wev8.png" width="12px" height="12px;">
			</td>
		</tr>
				
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
		 
		
		<tr>
                <td width="8"></td>
				
			  
				<td class="reqdetail" width="*" title="会议通知:赶紧回来 会议时间:2017-10-10 13:44 会议地点:小会议室一" requestid="2673">
					<a href="javaScript:openFullWindowHaveBarForWF(&#39;/workflow/request/ViewRequest.jsp?requestid=2673&amp;isovertime=0&#39;,&#39;2673&#39;)"><font class="font"><font class="font"><span class="reqname" onclick="javaScript:setWorkFlowRefresh(58,8)">会议通知:赶紧回来 会议时间:2017-10-10 13...</span></font></font></a>

				</td>
			   
				
			   
				
				
			   

			   

			   
			   

			  

			
			    
				
			   
				
				
			   
				<td width="70"><a href="javascript:openhrm(4)" onclick="pointerXY(event);"><font class="font"><font class="font">杨文元</font></font></a></td>
			  

			   

			   
			   

			  

			
			    
				
			   
				
				
			   

			   

			   
			   
				<td width="76"><font class="font">2017-11-09</font></td>
			  

			  

			
			<td style="position:relative;width:10px;">
				<img class="imgdetail" style="cursor: pointer; position: absolute; right: 5px; top: 8px; display: none;" src="../images/req_wev8.png" width="12px" height="12px;">
			</td>
		</tr>
				
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
		 
		
		<tr>
                <td width="8"></td>
				
			  
				<td class="reqdetail" width="*" title="公司收文-杨文元-2015-06-16" requestid="10">
					<a href="javaScript:openFullWindowHaveBarForWF(&#39;/workflow/request/ViewRequest.jsp?requestid=10&amp;isovertime=0&#39;,&#39;10&#39;)"><font class="font"><font class="font"><span class="reqname" onclick="javaScript:setWorkFlowRefresh(58,8)">公司收文-杨文元-2015-06-16</span></font></font></a>

				</td>
			   
				
			   
				
				
			   

			   

			   
			   

			  

			
			    
				
			   
				
				
			   
				<td width="70"><a href="javascript:openhrm(4)" onclick="pointerXY(event);"><font class="font"><font class="font">杨文元</font></font></a></td>
			  

			   

			   
			   

			  

			
			    
				
			   
				
				
			   

			   

			   
			   
				<td width="76"><font class="font">2017-11-07</font></td>
			  

			  

			
			<td style="position:relative;width:10px;">
				<img class="imgdetail" style="cursor: pointer; position: absolute; right: 5px; top: 8px; display: none;" src="../images/req_wev8.png" width="12px" height="12px;">
			</td>
		</tr>
				
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
		 
		
		<tr>
                <td width="8"></td>
				
			  
				<td class="reqdetail" width="*" title="会议通知:赶紧回来 会议时间:2017-10-11 13:44 会议地点:小会议室一" requestid="2674">
					<a href="javaScript:openFullWindowHaveBarForWF(&#39;/workflow/request/ViewRequest.jsp?requestid=2674&amp;isovertime=0&#39;,&#39;2674&#39;)"><font class="font"><font class="font"><span class="reqname" onclick="javaScript:setWorkFlowRefresh(58,8)">会议通知:赶紧回来 会议时间:2017-10-11 13...</span></font></font></a>

				</td>
			   
				
			   
				
				
			   

			   

			   
			   

			  

			
			    
				
			   
				
				
			   
				<td width="70"><a href="javascript:openhrm(4)" onclick="pointerXY(event);"><font class="font"><font class="font">杨文元</font></font></a></td>
			  

			   

			   
			   

			  

			
			    
				
			   
				
				
			   

			   

			   
			   
				<td width="76"><font class="font">2017-10-25</font></td>
			  

			  

			
			<td style="position:relative;width:10px;">
				<img class="imgdetail" style="cursor: pointer; position: absolute; right: 5px; top: 8px; display: block;" src="../images/req_wev8.png" width="12px" height="12px;">
			</td>
		</tr>
				
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
		 
		
		<tr>
                <td width="8"></td>
				
			  
				<td class="reqdetail" width="*" title="新建项目任务:如太25-杨文元-2017-10-17" requestid="2514">
					<a href="javaScript:openFullWindowHaveBarForWF(&#39;/workflow/request/ViewRequest.jsp?requestid=2514&amp;isovertime=0&#39;,&#39;2514&#39;)"><font class="font"><font class="font"><span class="reqname" onclick="javaScript:setWorkFlowRefresh(58,8)">新建项目任务:如太25-杨文元-2017-10-17</span></font></font></a>

				</td>
			   
				
			   
				
				
			   

			   

			   
			   

			  

			
			    
				
			   
				
				
			   
				<td width="70"><a href="javascript:openhrm(4)" onclick="pointerXY(event);"><font class="font"><font class="font">杨文元</font></font></a></td>
			  

			   

			   
			   

			  

			
			    
				
			   
				
				
			   

			   

			   
			   
				<td width="76"><font class="font">2017-10-24</font></td>
			  

			  

			
			<td style="position:relative;width:10px;">
				<img class="imgdetail" style="cursor: pointer; position: absolute; right: 5px; top: 8px; display: none;" src="../images/req_wev8.png" width="12px" height="12px;">
			</td>
		</tr>
				
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
		 
		
		<tr>
                <td width="8"></td>
				
			  
				<td class="reqdetail" width="*" title="会议通知:q 会议时间:2017-09-07 17:15 会议地点:大会议室一" requestid="1698">
					<a href="javaScript:openFullWindowHaveBarForWF(&#39;/workflow/request/ViewRequest.jsp?requestid=1698&amp;isovertime=0&#39;,&#39;1698&#39;)"><font class="font"><font class="font"><span class="reqname" onclick="javaScript:setWorkFlowRefresh(58,8)">会议通知:q 会议时间:2017-09-07 17:15 会议...</span></font></font></a>

				</td>
			   
				
			   
				
				
			   

			   

			   
			   

			  

			
			    
				
			   
				
				
			   
				<td width="70"><a href="javascript:openhrm(4)" onclick="pointerXY(event);"><font class="font"><font class="font">杨文元</font></font></a></td>
			  

			   

			   
			   

			  

			
			    
				
			   
				
				
			   

			   

			   
			   
				<td width="76"><font class="font">2017-10-21</font></td>
			  

			  

			
			<td style="position:relative;width:10px;">
				<img class="imgdetail" style="cursor: pointer; position: absolute; right: 5px; top: 8px; display: none;" src="../images/req_wev8.png" width="12px" height="12px;">
			</td>
		</tr>
		
		
		 </tbody></table>
    </td>
    <td width="1px"></td>
</tr>
</tbody></table>


<div id="signPreview_58" class="signPreview">
	<div class="arrowsblock" style="display: none"><img src="../images/arrows_wev8.png" width="13px" height="8px"></div>
	<div class="arrowsblockup" style="display: none"><img src="../images/arrows_up_wev8.png" width="13px" height="8px"></div>
	
	<div class="signContainer" style="position: relative">
		<img style="position: absolute;top:10px;right: 8px;cursor: pointer;z-index:1;" class="close" src="../images/close_wev8.png" width="20px" height="20px">
		<div class="signTitle" style="margin-top:-10px;background:#e5f5ff;height:40px;line-height:40px;font-size: 16px;color: #242424;z-index:1;padding-left:20px;">
		
		</div>
		<div class="signContent" style="overflow:hidden;position: relative;">
			<div class="content" style="border: 0px; "></div>
		</div>
		<!-- <iframe height='450px' width="100%" border="0px" style="border: 0px"></iframe> -->
		<div class="signMore">加载更多</div>
	</div>
	
	
</div>

<style>
	
</style>





	
</div>





</div>

<div style="text-align:right;" id="footer_58">

</div>
</div>
</div>

<!---------Element220:------------->
<div class="item" id="item_220" eid="220" style="position:relative;margin-top:10px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="7" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="false">
<div class="header" issetting="false" sharelevel="" style="width:auto;_width:100%;position:relative;display:block!important;" id="header_220">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_220"><img border="0" src="../images/news.png" onclick="onShowOrHideE(220)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_220"></span>
<span class="toolbar" style="position:absolute;" id="toolbar_220"> <ul></ul></span>
<span class="toolbarSub" id="toolbarSub_220"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_220"><div class="content_view">


<!-- 判断元素是否可以独立显示，引入样式 -->

<style type="text/css" rel="STYLESHEET">
.picturebackhp 
{
    width: 18px;
    height: 32px;
    float:left;
    background: transparent url(/page/element/Picture/resource/image/scroll_left_wev8.gif) no-repeat 0 0;
}
.picturenexthp 
{
    width: 18px;
    height: 32px;
    float:left;
    background: transparent url(/page/element/Picture/resource/image/scroll_right_wev8.gif) no-repeat 0 0;
}
</style>





<div id="titleContainer_220" style="border: 0px; width: 100%; overflow: hidden; position: relative; background-image: url(&quot;http://192.168.1.236:8093/page/resource/userfile/image/ecology8/tabbg1_wev8.png&quot;);">

<div id="tabnavprev_220" style="position: relative; float: left; left: -5px; top: -5px; display: none;" class="picturebackhp" onclick="backMarqueeDiv7(&#39;#tabContainer_220&#39;);">&nbsp;</div>

<div id="tabContainer_220" class="tab2" style="width: 1299px; overflow: hidden; float: left; margin-left: 0px; margin-right: 0px;">
	<table height="32" width="308" cellspacing="0" cellpadding="0" border="0" style="table-layout:fixed;">
		<tbody><tr>
			
				
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" id="tab_220" tabid="1" class="tab2selected">公司新闻</td>
				
				
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" id="tab_220_2" tabid="2" class="tab2unselected">客户签约</td>
			
				
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" id="tab_220_4" tabid="4" class="tab2unselected">项目新闻</td>
			
				
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" id="tab_220_5" tabid="5" class="tab2unselected">人事新闻</td>
		</tr>
	</tbody></table>
</div>
    <div id="tabnavnext_220" style="position: relative; float: right; right: 0px; top: -6px; display: none;" class="picturenexthp" onclick="nextMarqueeDiv7(&#39;#tabContainer_220&#39;);">&nbsp;</div>
</div>
<div id="tabContant_220">
<table id="_contenttable_220" class="Econtent" width="100%">
   <tbody><tr>
	 <td width="1px"></td>
	 <td width="*" valign="top">
	 
	 <table width="100%" cellpadding="0" cellspacing="0"><tbody><tr><td valign="top"><table style="margin-top:6px" cellpadding="0" cellspacing="0"><tbody><tr>
         <td height="112" valign="top">
         <div style="height:120px;width:200px;" id="little_lunbotu" class="all">
             <div class="screen">
                <ul>
                    <li><img src="../images/little_img_1.jpg" style="height: 100%;width: 100%;" /></li>
                    <li><img src="../images/little_img_2.jpg" style="height: 100%;width: 100%;" /></li>
                    <li><img src="../images/little_img_3.jpg" style="height: 100%;width: 100%;" /></li>
                    <li><img src="../images/little_img_4.jpg" style="height: 100%;width: 100%; " /></li>
                </ul>
            </div>
            <ol>
            </ol>
         </div>
         <script src="../js/animate.My.js"></script>
         <script>
             window.onload= function() {
                 var box  = document.getElementById("little_lunbotu");  //   获得大盒子
                 var ul = box.children[0].children[0];  // 获取ul
                 var ulLis = ul.children;  //  ul 里面的所有  li
                 ul.appendChild(ulLis[0].cloneNode(true));   // ul 是 a   ulLis[0].cloneNode(true) 是b
                 //2. 插入 ol 里面的li
                 var ol = box.children[1];  // 获得ol
                 for(var i=0;i<ulLis.length-1;i++) {   // ul 里面的li  长度 要减去 1  因为我们克隆一个
                     // 创建节点 li
                     var li = document.createElement("li");
                     li.innerHTML = i + 1;   //  存在加1 的关系
                     // a.appendChild(b);
                     ol.appendChild(li);
                 }
                 var olLis = ol.children;  // 找到 ol 里面的li
                 olLis[0].className = 'current';
                 // 3. 动画部分  遍历小li ol
                 for(var i=0;i<olLis.length;i++) {
                     olLis[i].index = i;  // 赋予索引号
                     olLis[i].onmouseover = function() {
                         // 清除所有人
                         for(var j=0;j<olLis.length;j++) {
                             olLis[j].className = "";
                         }
                         this.className = 'current';
                         animate(ul,-this.index*ulLis[0].offsetWidth);
                         key = square = this.index; // 鼠标经过 key square 要等于 当前的索引号
                     }
                 }
                 // 4. 定时器部分  难点
                 var timer = null;  // 定时器
                 var key = 0; // 用来控制图片的播放的
                 var square = 0;  // 用来控制小方块的
                 timer = setInterval(autoplay,3000);   // 每隔3s 调用一次 autoplay
                 function autoplay() {
                     key++;   // key == 1  先 ++
                     console.log(key); //  不能超过5
                     if(key > ulLis.length - 1)
                     {
                         // alert('停下');
                         ul.style.left = 0;
                         key = 1;  // 因为第6张就是第一张，我们已经播放完毕了， 下一次播放第2张
                         // 第2张的索引号是1
                     }
                     animate(ul,-key*ulLis[0].offsetWidth);
                     // 小方块的做法
                     square++;  // 小方块自加1
                     square = square>olLis.length-1 ? 0 : square;
                     /// 清除所有人
                     for(var i=0;i<olLis.length;i++) {
                         olLis[i].className = "";
                     }
                     olLis[square].className = "current";   // 留下当前自己的

                 }
                 // 鼠标经过和停止定时器
                 box.onmouseover = function() {
                     clearInterval(timer);
                 }

                 box.onmouseout = function() {
                     timer = setInterval(autoplay,3000);  // 一定这么开
                 }
                 //  基本封装
                 function animate(obj,target) {
                     clearInterval(obj.timer);  // 要开启定时器，先清除以前定时器
                     // 有2个参数 第一个 对象谁做动画  第二 距离 到哪里
                     // 如果 offsetLeft 大于了  target 目标位置就应该反方向
                     var speed = obj.offsetLeft < target ? 15 : -15;
                     obj.timer = setInterval(function() {
                         var result = target - obj.offsetLeft;  //  他们的值 等于 0 说明完全相等
                         // 动画的原理
                         obj.style.left = obj.offsetLeft + speed  + "px";
                         if(Math.abs(result) <= 15) {
                             obj.style.left = target + "px";   //抖动问题
                             clearInterval(obj.timer);
                         }
                     },10);
                 }
             }
         </script>
</td></tr></tbody></table></td>
<td width="1px">&nbsp</td><td width="100%" valign="top"><table class="elementdatatable" width="100%">
<tbody><tr>
	<td width="8"></td>
<td class="docdetail" width="*" title="中国商界采访维森集团副董事长兼总经理"><a href="javascript:openFullWindowForDoc(&#39;/docs/docs/DocDsp.jsp?id=57&amp;isOpenFirstAss=0&#39;,&#39;57&#39;)"><font class="font docnamedetail">中国商界采访维森集团副董事长兼总经理</font></a>
</td>
<td width="76"><font class="font">2015-09-09</font></td>
</tr>
<tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="4"></td></tr>
<tr>
	<td width="8"></td>
<td class="docdetail" width="*" title="维森集团国际俱乐部的员工聚餐"><a href="javascript:openFullWindowForDoc(&#39;/docs/docs/DocDsp.jsp?id=56&amp;isOpenFirstAss=0&#39;,&#39;56&#39;)"><font class="font docnamedetail">维森集团国际俱乐部的员工聚餐</font></a>
</td>
<td width="76"><font class="font">2015-06-24</font></td>
</tr>
<tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="4"></td></tr>
<tr>
	<td width="8"></td>
<td class="docdetail" width="*" title="维森集团董事长接受中央电视台《经济半小时》采访"><a href="javascript:openFullWindowForDoc(&#39;/docs/docs/DocDsp.jsp?id=55&amp;isOpenFirstAss=0&#39;,&#39;55&#39;)"><font class="font docnamedetail">维森集团董事长接受中央电视台《经济半小时...</font></a>
</td>
<td width="76"><font class="font">2015-06-24</font></td>
</tr>
<tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="4"></td></tr>
<tr>
	<td width="8"></td>
<td class="docdetail" width="*" title="维森集团运用信息技术，加强合同管控力度"><a href="javascript:openFullWindowForDoc(&#39;/docs/docs/DocDsp.jsp?id=54&amp;isOpenFirstAss=0&#39;,&#39;54&#39;)"><font class="font docnamedetail">维森集团运用信息技术，加强合同管控力度</font></a>
</td>
<td width="76"><font class="font">2015-06-24</font></td>
</tr>
<tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="4"></td></tr>
<tr>
	<td width="8"></td>
<td class="docdetail" width="*" title="维森集团董事长入围2012年度“风云浙商”30人名单"><a href="javascript:openFullWindowForDoc(&#39;/docs/docs/DocDsp.jsp?id=53&amp;isOpenFirstAss=0&#39;,&#39;53&#39;)"><font class="font docnamedetail">维森集团董事长入围2012年度“风云浙商”30...</font></a>
</td>
<td width="76"><font class="font">2015-06-24</font></td>
</tr>
</tbody></table>
     </td></tr></tbody></table>


	</td></tr></tbody></table>
	    
	
  





</div>


</div>

<div style="text-align:right;" id="footer_220">

</div>
</div>
</div>


						</div>
					</td>
				</tr>
			</tbody></table>

			<table width="100%" valign="top" a="" border="0" cellpadding="0" cellspacing="0"> 
				<tbody><tr> 
					<td width="50%" style="" valign="TOP" class="ui-droppable"> 
						<div class="group" areaflag="C">
								<!---------Element222:------------->
<div class="item" id="item_222" eid="222" style="position:relative;margin-top:10px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="12" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="true">
<div class="header" issetting="false" sharelevel="1" style="width:auto;_width:100%;position:relative;display:block!important;" id="header_222">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_222"><img border="0" src="../images/meeting.png" onclick="onShowOrHideE(222)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_222"></span>
<span class="toolbar" style="position:absolute;" id="toolbar_222"> <ul></ul></span>
<span class="toolbarSub" id="toolbarSub_222"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_222"><div class="content_view" id="content_view_id_222" url="/page/element/compatible/view.jsp?ebaseid=12&amp;eid=222&amp;styleid=1442224702199&amp;hpid=8&amp;subCompanyId=5" style="overflow:auto;height:130px;">





























<!-- 判断元素是否可以独立显示，引入样式 -->



<table id="_contenttable_222" class="Econtent" width="100%">
<tbody><tr>
    <td width="1px"></td>
    <td width="*">      
    <table width="100%" class="elementdatatable">          
             
    </table>
    </td>
    <td width="1px"></td>
</tr>
</tbody></table></div>

<div style="text-align:right;" id="footer_222">

</div>
</div>
</div>

<!---------Element266:------------->
<div class="item" id="item_266" eid="266" style="position:relative;margin-top:10px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="1" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="false">
<div class="header" issetting="false" sharelevel="1" style="width:auto;_width:100%;position:relative;display:block!important;" id="header_266">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_266"><img border="0" src="../images/Intelligence.png" onclick="onShowOrHideE(266)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_266"></span>
<span class="toolbar" style="position:absolute;" id="toolbar_266"> <ul></ul></span>
<span class="toolbarSub" id="toolbarSub_266"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_266"><div class="content_view" id="content_view_id_266" url="/page/element/1/Rss.jsp?ebaseid=1&amp;eid=266&amp;styleid=1442224702199&amp;hpid=8&amp;subCompanyId=5" style="">























	
















<!-- 判断元素是否可以独立显示，引入样式 -->





<style type="text/css" rel="STYLESHEET">
.picturebackhp 
{
    width: 18px;
    height: 32px;
    float:left;
    background: transparent url(/page/element/Picture/resource/image/scroll_left_wev8.gif) no-repeat 0 0;
}
.picturenexthp
{
    width: 18px;
    height: 32px;
    float:left;
    background: transparent url(/page/element/Picture/resource/image/scroll_right_wev8.gif) no-repeat 0 0;
}
</style>




<div id="titleContainer_266" style="border: 0px; width: 100%; overflow: hidden; position: relative; display: none; background-image: url(&quot;http://192.168.1.236:8093/page/resource/userfile/image/ecology8/tabbg1_wev8.png&quot;);">
<div id="tabnavprev_266" style="position: relative; float: left; left: -5px; top: -5px; display: none;" class="picturebackhp" onclick="backMarqueeDiv1(&#39;#tabContainer_266&#39;);">&nbsp;</div>


<div id="tabContainer_266" class="tab2" style="width: 640px; height: 32px; overflow: hidden; float: left; margin-left: 0px; margin-right: 0px;">
	<table height="32" width="77" cellspacing="0" cellpadding="0" border="0" style="table-layout:fixed;">
		<tbody><tr>
			
				
					<td title="泛微" style="word-wrap:break-word;padding-top:5px;vertical-align:top;" id="tab_266" tabid="1" class="tab2selected">
					     泛微
					</td>
				
		</tr>
	</tbody></table>
</div>



    
    <div id="tabnavnext_266" style="position: relative; float: right; right: -5px; top: -5px; display: none;" class="picturenexthp" onclick="nextMarqueeDiv1(&#39;#tabContainer_266&#39;);">&nbsp;</div>



</div>

<div id="tabContant_266">

















	























 	
 	<table id="_contenttable_266" class="Econtent" width="100%">
	         <tbody><tr>
	          <td width="1px"></td>
	           <td width="*">
	               
	           </td>
	           <td width="1px"></td>
	         </tr>
	</tbody></table>
 	
 


</div>
	

</div>

<div style="text-align:right;" id="footer_266">

</div>
</div>
</div>


						</div>
					</td>
					<td width="50%" style="" valign="TOP" class="ui-droppable"> 
						<div class="group" areaflag="D">
								<!---------Element66:------------->
<div class="item" id="item_66" eid="66" style="position:relative;margin-top:10px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="13" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="true">
<div class="header" issetting="false" sharelevel="1" style="width:auto;_width:100%;position:relative;display:block!important;" id="header_66">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_66"><img border="0" src="../images/Cooperation.png" onclick="onShowOrHideE(66)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_66"></span>
<span class="toolbar" style="position:absolute;" id="toolbar_66"> <ul></ul></span>
<span class="toolbarSub" id="toolbarSub_66"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_66"><div class="content_view" id="content_view_id_66" url="/page/element/compatible/view.jsp?ebaseid=13&amp;eid=66&amp;styleid=1442224702199&amp;hpid=8&amp;subCompanyId=5" style="overflow:auto;height:130px;">





























<!-- 判断元素是否可以独立显示，引入样式 -->



<table id="_contenttable_66" class="Econtent" width="100%">
<tbody><tr>
    <td width="1px"></td>
    <td width="*">      
    <table width="100%" class="elementdatatable">          
             
    </table>
    </td>
    <td width="1px"></td>
</tr>
</tbody></table></div>

<div style="text-align:right;" id="footer_66">

</div>
</div>
</div>

<!---------Element267:------------->
<div class="item" id="item_267" eid="267" style="position:relative;margin-top:10px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="7" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="false">
<div class="header" issetting="false" sharelevel="1" style="width:auto;_width:100%;position:relative;display:block!important;" id="header_267">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_267"><img border="0" src="../images/report.png" onclick="onShowOrHideE(267)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_267"></span>
<span class="toolbar" style="position:absolute;" id="toolbar_267"> <ul></ul></span>
<span class="toolbarSub" id="toolbarSub_267"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_267"><div class="content_view" id="content_view_id_267" url="/page/element/7/News.jsp?ebaseid=7&amp;eid=267&amp;styleid=1442224702199&amp;hpid=8&amp;subCompanyId=5" style="">






























<!-- 判断元素是否可以独立显示，引入样式 -->





<style type="text/css" rel="STYLESHEET">
.picturebackhp 
{
    width: 18px;
    height: 32px;
    float:left;
    background: transparent url(/page/element/Picture/resource/image/scroll_left_wev8.gif) no-repeat 0 0;
}
.picturenexthp 
{
    width: 18px;
    height: 32px;
    float:left;
    background: transparent url(/page/element/Picture/resource/image/scroll_right_wev8.gif) no-repeat 0 0;
}
</style>





<div id="titleContainer_267" style="border: 0px; width: 100%; overflow: hidden; position: relative; display: none; background-image: url(&quot;http://192.168.1.236:8093/page/resource/userfile/image/ecology8/tabbg1_wev8.png&quot;);">

<div id="tabnavprev_267" style="position: relative; float: left; left: -5px; top: -5px; display: none;" class="picturebackhp" onclick="backMarqueeDiv7(&#39;#tabContainer_267&#39;);">&nbsp;</div>

<div id="tabContainer_267" class="tab2" style="width:100%;overflow:hidden;display:none;float:left;">
	<table height="32" width="77" cellspacing="0" cellpadding="0" border="0" style="table-layout:fixed;">
		<tbody><tr>
			
				
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" id="tab_267" tabid="1" class="tab2selected">每周战报</td>
				
		</tr>
	</tbody></table>
</div>


    
    <div id="tabnavnext_267" style="position: relative; float: right; right: 0px; top: -6px; display: none;" class="picturenexthp" onclick="nextMarqueeDiv7(&#39;#tabContainer_267&#39;);">&nbsp;</div>



</div>

<div id="tabContant_267">











































	
	
<table id="_contenttable_267" class="Econtent" width="100%">
   <tbody><tr>
	 <td width="1px"></td>
	 <td width="*" valign="top">
	 
	 <table class="elementdatatable" width="100%">
<tbody><tr>
	<td width="8"></td>
<td class="docdetail" width="*" title="销售团队每周战报-20150213"><a href="javascript:openFullWindowForDoc(&#39;/docs/docs/DocDsp.jsp?id=265&amp;isOpenFirstAss=0&#39;,&#39;265&#39;)"><font class="font docnamedetail">销售团队每周战报-20150213</font></a>
</td>
</tr>
<tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="2"></td></tr>
</tbody></table>


	</td></tr></tbody></table>
	    
	
  





</div>


</div>

<div style="text-align:right;" id="footer_267">

</div>
</div>
</div>


						</div>
					</td>
				</tr>
			</tbody></table>
		</td>	
		<td width="30%" style="" valign="top">
			<table width="100%" valign="top" border="0" cellpadding="0" cellspacing="0">
				<tbody><tr>
					<td valign="TOP" class="ui-droppable"> 
						<div class="group" areaflag="B">
								<!---------Element57:------------->
<div class="item" id="item_57" eid="57" style="position:relative;margin-top:10px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="MyCalendar" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="true">
<div class="header" issetting="false" sharelevel="1" style="width:auto;_width:100%;position:relative;display:none" id="header_57">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_57"><img border="0" src="../images/Calendar.png" onclick="onShowOrHideE(57)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_57"></span>
<span class="toolbar" style="position:absolute;" id="toolbar_57"> <ul><li><a style="display:block;float:left;" href="javascript:onRefresh(&#39;57&#39;,&#39;MyCalendar&#39;)" title="刷新">    <img src="../images/refresh_wev8.png" display="" border="0"></a></li><li><a style="display:block;float:left;" id="more_57" morehref="" href="http://e8.weaver.com.cn/homepage/Homepage.jsp?hpid=8&amp;subCompanyId=5&amp;isfromportal=1&amp;isfromhp=0#" onclick="return false"><img class="img_more" id="imgMore" border="0" src="../images/more_wev8.png" display="" title="更多"></a></li></ul><style>#header_57 {display:none}</style></span>
<span class="toolbarSub" id="toolbarSub_57"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_57"><div class="content_view" id="content_view_id_57" url="/page/element/MyCalendar/Iframe.jsp?ebaseid=MyCalendar&amp;eid=57&amp;styleid=1413740040168&amp;hpid=8&amp;subCompanyId=5" style="">































<!-- 判断元素是否可以独立显示，引入样式 -->

	

    
        <title>
        </title>
    
    
    <iframe id="ifrm_myCalendar_57" name="ifrm_myCalendar_57" border="0" frameborder="no" noresize="NORESIZE" scrolling="auto" width="100%" src="../html/View.html" height="374">&lt;/ifram
    &lt;/body&gt;
&lt;/html&gt;</iframe></div>

<div style="text-align:right;" id="footer_57">

</div>
</div>
</div>

<!---------Element265:------------->
<div class="item" id="item_265" eid="265" style="position:relative;margin-top:0px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="29" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="true">
<div class="header" issetting="false" sharelevel="1" style="width:auto;_width:100%;position:relative;display:block!important;" id="header_265">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_265"><img border="0" src="../images/Achievements.png" onclick="onShowOrHideE(265)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_265"></span>
<span class="toolbar" style="position:absolute;" id="toolbar_265"> <ul></ul></span>
<span class="toolbarSub" id="toolbarSub_265"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_265"><div class="content_view" id="content_view_id_265" url="/page/element/29/Iframe.jsp?ebaseid=29&amp;eid=265&amp;styleid=1442224702199&amp;hpid=8&amp;subCompanyId=5" style="">
















	






















<!-- 判断元素是否可以独立显示，引入样式 -->







<div id="titleContainer_265" style="border: 0px; width: 100%; position: relative; overflow: hidden; display: none; background-image: url(&quot;http://192.168.1.236:8093/page/resource/userfile/image/ecology8/tabbg1_wev8.png&quot;);">

<div id="tabnavprev_265" style="position: relative; float: left; left: -5px; top: -5px; display: none;" class="picturebackhp" onclick="backMarqueeDiv7(&#39;#tabContainer_265&#39;);">&nbsp;</div>

<div id="tabContainer_265" class="tab2" style="width:100%;overflow:hidden;display:none;float:left;">
	<table height="32" width="77" cellspacing="0" cellpadding="0" border="0" style="table-layout:fixed;">
		<tbody><tr>
			
				
					<td style="word-wrap:break-word;padding-top:5px;vertical-align:top;" id="tab_265" tabid="1" class="tab2selected">绩效考核</td>
				
		</tr>
	</tbody></table>
</div>


    
    <div id="tabnavnext_265" style="position: relative; float: right; right: -5px; top: -6px; display: none;" class="picturenexthp" onclick="nextMarqueeDiv7(&#39;#tabContainer_265&#39;);">&nbsp;</div>



</div>
<div id="tabContant_265">

















	




















<iframe id="ifrm_265" name="ifrm_265" border="0" frameborder="no" noresize="NORESIZE" scrolling="auto" width="100%" height="210" src="../html/Remind.html"></iframe>








</div>

	


</div>

<div style="text-align:right;" id="footer_265">

</div>
</div>
</div>

<!---------Element59:------------->
<div class="item" id="item_59" eid="59" style="position:relative;margin-top:0px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="contacts" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="true">
<div class="header" issetting="false" sharelevel="1" style="width:auto;_width:100%;position:relative;display:block!important;" id="header_59">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_59"><img border="0" src="../images/phonebook.png" onclick="onShowOrHideE(59)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_59"></span>
<span class="toolbar" style="position:absolute;" id="toolbar_59"> <ul></ul></span>
<span class="toolbarSub" id="toolbarSub_59"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_59"><div class="content_view" id="content_view_id_59" url="/page/element/contacts/View.jsp?ebaseid=contacts&amp;eid=59&amp;styleid=1442224702199&amp;hpid=8&amp;subCompanyId=5" style="">








































<!-- 判断元素是否可以独立显示，引入样式 -->


<span id="searchblockspan_59" style="width: 284px;display: inline-block;">
	<span class="searchInputSpan overlabel-wrapper" style="position:relative;width: 288px">
		<label for="flowTitle_59" class="overlabel overlabel-apply" style="text-indent: 0px; cursor: text;">搜索姓名/首字母/手机号</label>
		<input type="text" class="searchInput middle" id="flowTitle_59" eid="59" name="flowTitle" value="" style="vertical-align: top;width: 258px">
		<span class="middle searchImg"><img class="middle" style="vertical-align:top;margin-top:2px;" src="../images/search-input_wev8.png"></span>
	</span>
</span>
<div class="e8_box cntactbox" id="cntactbox_59" style="visibility: visible; height: 894px;">
		 <div style="position: relative; height: 35px;">
		 		<ul class="tab_menu" style="position: absolute; width: 100%;">
		 			<li class="current firstLi" hrm="1" imageidx="1" idx="0" style="padding-left: 5px;">
						<a target="tabcontentframe" id="li_a_0" style="max-width: 474px;">
							最近
						</a>
					<span class="e8_rightBorder">|</span></li>
					<li class="" hrm="2" imageidx="2" idx="1" style="padding-left: 5px;">
						<a target="tabcontentframe" id="li_a_1" style="max-width: 474px;">
							同部门
						</a>
					<span class="e8_rightBorder">|</span></li>
					<li class="" hrm="3" imageidx="3" idx="2" style="padding-left: 5px;">
						<a target="tabcontentframe" id="li_a_2" style="max-width: 474px;">
							我的下属
						</a>
					<span class="e8_rightBorder" style="display: none;">|</span></li>
					<li class="magic-line" style="width: 24px; left: 0px; top: 18px;"></li></ul>
		 </div>
		<div style="overflow-x: visible; overflow-y: hidden; height: 210px; outline: none;" tabindex="5000">
			<div id="cntactsList_59">
 









































<table id="_contenttable_59" class="Econtent elementdatatable" width="100%">

		<tbody><tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=46&#39;)">李红雷</font>
					</td>
					
					<td width="170">
						<font class="font">企划部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=4&#39;)">杨文元</font>
					</td>
					
					<td width="170">
						<font class="font">集团总经办</font>
					</td>
					
					<td width="170">
						<font class="font">13705695580</font>
					</td>
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=67&#39;)">杨文元</font>
					</td>
					
					<td width="170">
						<font class="font">维森地产总经办</font>
					</td>
					
					<td width="170">
						<font class="font"></font>
					</td>
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=72&#39;)">龚英</font>
					</td>
					
					<td width="170">
						<font class="font">成本管理部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=71&#39;)">季生</font>
					</td>
					
					<td width="170">
						<font class="font">成本管理部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=5&#39;)">徐平</font>
					</td>
					
					<td width="170">
						<font class="font">行政部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=3&#39;)">倪云</font>
					</td>
					
					<td width="170">
						<font class="font">集团总经办</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=44&#39;)">杨健</font>
					</td>
					
					<td width="170">
						<font class="font">法务部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=39&#39;)">黄燕敏</font>
					</td>
					
					<td width="170">
						<font class="font">营销部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=37&#39;)">黄耀平</font>
					</td>
					
					<td width="170">
						<font class="font">营销部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=47&#39;)">张明亮</font>
					</td>
					
					<td width="170">
						<font class="font">企划部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=6&#39;)">赵静</font>
					</td>
					
					<td width="170">
						<font class="font">行政部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=80&#39;)">赵静</font>
					</td>
					
					<td width="170">
						<font class="font">集团总经办</font>
					</td>
					
					<td width="170">
						<font class="font"></font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=56&#39;)">贺昌</font>
					</td>
					
					<td width="170">
						<font class="font">总经理办公室</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=55&#39;)">朱春辉</font>
					</td>
					
					<td width="170">
						<font class="font">总经理办公室</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=12&#39;)">王海燕</font>
					</td>
					
					<td width="170">
						<font class="font">财务部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=69&#39;)">纪敏</font>
					</td>
					
					<td width="170">
						<font class="font">设计管理部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=11&#39;)">鄢名高</font>
					</td>
					
					<td width="170">
						<font class="font">财务部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=10&#39;)">邱军强</font>
					</td>
					
					<td width="170">
						<font class="font">财务部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
		<tr>
			<td width="8"></td>
			
			
					<td width="*" style="min-width: 100px;">
						<font class="font" style="cursor: pointer;" onclick="window.open(&#39;/hrm/HrmTab.jsp?_fromURL=HrmResource&amp;id=9&#39;)">朱雄文</font>
					</td>
					
					<td width="170">
						<font class="font">财务部</font>
					</td>
					
					<td width="170">
						<font class="font">15156906311</font>
					</td>
					
				
			
			
		</tr>
		 <tr class="sparator" style="height:1px" height="1px"><td style="padding:0px" colspan="5"></td></tr>
	
</tbody></table>			</div>
		</div>
</div>	
			
			</div>

<div style="text-align:right;" id="footer_59">

</div>
</div>
</div>

<!---------Element335:------------->
<div class="item" id="item_335" eid="335" style="position:relative;margin-top:0px;margin-right: 0px; margin-bottom:0px; margin-left:0px;" ebaseid="blogStatus" needrefresh="true" cornertop="Right" cornertopradian="8px" cornerbottom="Right" cornerbottomradian="5px" isbeforeinit="true" isinited="true" elementload_queue_timeout_flag="true">
<div class="header" issetting="false" sharelevel="1" style="width:auto;_width:100%;position:relative;display:block!important;" id="header_335">
<span class="icon" style="position:absolute;cursor:hand;" id="icon_335"><img border="0" src="../images/weibo.png" onclick="onShowOrHideE(335)" title="收缩/展开"></span>
<span class="title" style="position:absolute;" id="title_335"></span>
<span class="toolbar" style="position:absolute;" id="toolbar_335"> <ul></ul></span>
<span class="toolbarSub" id="toolbarSub_335"></span>
</div>
<div class="content" style="width:auto;_width:100%;" id="content_335"><div class="content_view" id="content_view_id_335" url="/page/element/blogStatus/View.jsp?ebaseid=blogStatus&amp;eid=335&amp;styleid=1442224702199&amp;hpid=8&amp;subCompanyId=5" style="">






















<!-- 判断元素是否可以独立显示，引入样式 -->


<style>
  .blogContent{margin-top: 5px;clear:both;background: #f8f8f8; border-bottom: #dcdcdc 1px solid; border-left: #dcdcdc 1px solid; border-top: #dcdcdc 1px solid; border-right: #dcdcdc 1px solid; padding-bottom: 5px; padding-left: 5px; padding-right: 2px; padding-top: 2px;}
  .blogContent p{margin:0px}
</style>

<div id="tabContainer_335" class="tab2">
   <table height="32px" border="0" cellpadding="0" cellspacing="0">
     <tbody><tr>
      
       
         <td onclick="showRemind(this,335,&#39;remind&#39;)" class="tab2selected" id="335_remind">提醒(1)</td><!-- 提醒 -->
       
      
         
         <td onclick="showRemind(this,335,&#39;comment&#39;)" class="tab2unselected" id="335_comment">评论</td><!-- 评论 -->
       
      
         
         <td onclick="showRemind(this,335,&#39;update&#39;)" class="tab2unselected" id="335_update">更新</td><!-- 更新 -->
       
         
     </tr>
   </tbody></table>
</div>


  
<table class="335_blogStatus_table" width="100%" id="335_table_remind" style="display:">
<tbody><tr valign="center">
<td valign="center" width="1"></td>
<td valign="top" width="*" id="335_td_remind">
	<table width="100%">     

	 <!-- 关注申请 -->
	  
		<!-- 申请同意 -->
		
		<!-- 申请拒绝 -->
		
		<!-- 关注我的 -->
		
		<!-- 微博更新 -->
		
		<!-- 未提交提醒 -->
		
		<!-- 未提交系统提醒 -->
		
		   <tbody><tr height="18">
				<td width="8"><img name="esymbol" src="../images/pointer_wev8.png"></td>
				<td width="*">
				    <!-- 提醒你提交{0}工作微博 -->
				    <a href="javascript:openRemind(335,&#39;remind&#39;,&#39;sysremind&#39;)">
					    <font class="font">系统提醒：你已经连续4天没有提交工作微博</font>
				    </a>
				</td>
				<td width="70" style="display:">系统提示</td>
				<td width="76" style="display:">2017-12-05</td>
			</tr>
			<tr class="sparator" style="height:1px" height="1"><td colspan="4" style="padding:0px"></td></tr>
		
		<!-- 评论我的  -->
		
		
	 	
 </tbody></table> 
</td>
<td width="1"></td>
</tr>
</tbody></table>
  
<table class="335_blogStatus_table" width="100%" id="335_table_comment" style="display:none">
<tbody><tr valign="center">
<td valign="center" width="1"></td>
<td valign="top" width="*" id="335_td_comment">
	<table width="100%">     
	
 </table> 
</td>
<td width="1"></td>
</tr>
</tbody></table>
  
<table class="335_blogStatus_table" width="100%" id="335_table_update" style="display:none">
<tbody><tr valign="center">
<td valign="center" width="1"></td>
<td valign="top" width="*" id="335_td_update">
	<table width="100%">     
	
 </table> 
</td>
<td width="1"></td>
</tr>
</tbody></table>


 </div>

<div style="text-align:right;" id="footer_335">

</div>
</div>
</div>


						</div>
					</td>
				</tr>
			</tbody></table>
		</td>
	</tr>
</tbody></table>

		</span>	
	</div>
		</td>
	</tr>
	</tbody></table>



<div id="encodeHTML" style="display:none"></div>


<link rel="stylesheet" href="../css/e8tabs_wev8.css" type="text/css">
<script src="../js/jquery.tabs_wev8.js"></script>
<script src="../js/jquery.selectbox-0.2_wev8.js"></script>
<!-- for scrollbar 
<link rel="stylesheet" type="text/css"
	href="/wui/theme/ecology8/page/perfect-scrollbar/perfect-scrollbar_wev8.css" />
<script type="text/javascript"
	src="/wui/theme/ecology8/page/perfect-scrollbar/perfect-scrollbar_wev8.js"></script>
<script type="text/javascript"
	src="/wui/theme/ecology8/page/perfect-scrollbar/jquery.mousewheel_wev8.js"></script>
-->
<script language="JavaScript">
$(document).ready(function(){
	//jQuery("#Element_Container").perfectScrollbar();
	
	$(".ehover").bind("mouseover",function(){
		$(this).addClass("ehoverBg")
	})
	$(".ehover").bind("mouseout",function(){
		$(this).removeClass("ehoverBg")
	});
	
   
});

try{
	parent.defaultHpid='8';
}catch(e){}


function elementsIsLoad() {
	var initedLength = $(".item[isinited!=true]").length;
	if (initedLength == 0) {
		if (parent.portalIframeLoadingOver) {
			parent.portalIframeLoadingOver('8', $("#Container").height());
		}
	}
}

function color_onchange(id,obj){
  try{
     if(obj.value !='000000'){
     	$("#"+id).attr("checked",true);
     }
  }catch(e){}
}

/*修改相应元素位置 到到相应的元素下去*/
function fixedPosition(eid){
	//jQuery("#spanContent").height(document.body.scrollHeight+30);
	var oFrm=(function(p,t){
				
			while(p!=t){
				if(t.document.getElementById("mainFrame")!=null)
					return t.document.getElementById("mainFrame");
				else
				t=p;p=p.parent;
			}
				return t.document.getElementById("mainFrame");
			})(window.parent,window);
	if(true){ //从门户过的数据需要刷新页面宽度				
		try{		
				
			if(parseInt(oFrm.style.height)<parseInt(document.body.scrollHeight)) {
				oFrm.style.height=document.body.scrollHeight+"px";
			} else {
				oFrm.style.height=document.body.scrollHeight+"px";
			}
		} catch(e){
			log(e)
		}
	}else{
		
		if(false){
		   oFrm?oFrm.style.height="100%":"";
		}else{
		   oFrm?oFrm.style.height="500px":"";
		}
		
	}
	
	//jQuery("#Element_Container").perfectScrollbar('update');
}
function toggleELib(obj){
    
	if($('#spanELib').is(":hidden")) {
		$('#spanELib').show();
		$('#spanELib').css("margin","10 0 0 10");
		$('#spanELib').css("width","150px");		
		$('#spanContent').css("width",document.body.clientWidth-160);
		$(window.parent.document).find("#btnElib").attr("value","隐藏元素库");
		if(typeof(obj) != "undefined")obj.lastChild.innerHTML="隐藏元素库";
	} else {
		$('#spanELib').hide();
		$('#spanELib').css("width","0%");
		$(window.parent.document).find("#btnElib").attr("value","显示元素库");
		if(typeof(obj) != "undefined")obj.lastChild.innerHTML="显示元素库";
	}
}

//=====================================协同开始

var myin;
var pbodyover;
function runeffect(obj)
{
	var _status = jQuery(obj).attr("_status");
	var _w = "430px";
	var _r = "418px";
	
	if(_status==1){
		_w = "0px";
		_r = "0px";
		jQuery(obj).attr("_status",0);
	}else{
		jQuery(obj).attr("_status",1);
		$(window.parent.document).find("#synergy_framecontent").css("width",_w);
	}
	
	jQuery($(window.parent.document).find("#synergy_moveDiv")).animate({right:_r},300,null,function(){
		if(_status==1){
				$(this).find("img").attr("src","/page/resource/userfile/image/synergy/left_wev8.png");
				$(this).attr("title","显示-协同区");
				$("#Element_Container").css("overflow-y","hidden");
				$(window.parent.document.body).css("overflow-y",pbodyover);
				
	    }else{
				$(this).find("img").attr("src","/page/resource/userfile/image/synergy/right_wev8.png");
				$(this).attr("title","隐藏-协同区");
				$("#Element_Container").css("overflow-y","auto");
				$("#Element_Container").css("margin-right","-30px");
				pbodyover = $(window.parent.document.body).css("overflow-y");
				$(window.parent.document.body).css("overflow-y","hidden");
				
		}
	});
	jQuery("#reldiv").animate({ width:_w},300,null,function(){
		if(_status==1)
			$(window.parent.document).find("#synergy_framecontent").css("width",_w);
	});
	
}

function setScroll()
{
	if($(window.parent.document).find("._synergyBox").length > 0)
	{
		var ptop ;
		var bodyheight = jQuery(window.parent.document.body).height();
		var headHeight = 0;
		headHeight = jQuery(window.parent.document).find(".e8_boxhead").height();
		ptop = headHeight+1;
		$(window.parent.document).find("#synergy_framecontent").css("top",ptop);
		var phei = bodyheight - ptop;
		$(window.parent.document).find("#synergy_framecontent").css("height",phei);
	}else
	{
		var parentheight = window.parent.document.body.scrollHeight<$(window).height()?$(window).height():window.parent.document.body.scrollHeight;
	    var contentheight = $("#Element_Container")[0].scrollHeight;
		
		if(parentheight > contentheight)
		{
			$(window.parent.document).find("#synergy_framecontent").css("height",parentheight);
			$(window.parent.document).find("#synergy_framecontent").css("top","0px");
			$("#Element_Container").css("overflow-y","hidden");
			$(window.parent.document.body).css("overflow-y","auto");
		}else
		{
			var isChrome=navigator.userAgent.indexOf("Chrome")==-1?false:true;
			var ptop ;
			if(isChrome)
				ptop = window.parent.document.body.scrollTop;
			else
				ptop = window.parent.document.documentElement.scrollTop + "px";
			var phei = window.parent.document.body.offsetHeight;
			$(window.parent.document).find("#synergy_framecontent").css("top",ptop);
			$(window.parent.document).find("#synergy_framecontent").css("height",phei);
			$("#Element_Container").css("overflow-y","auto");
			$(window.parent.document.body).css("overflow-y","hidden");
		}
	}
}



function docParamSetting(eid,ebaseid){
	var sharelevel=$("input[name=_esharelevel_"+eid+"]").val();
	var ePerpageValue=5;
 	var dlg=new window.top.Dialog();//定义Dialog对象
	dlg.Model=true;
	dlg.Width=800;//定义长度
	dlg.Height=460;
	dlg.URL="/synergy/maintenance/SynergyElementSet4Param.jsp?eid="+eid+"&ebaseid="+ebaseid+"&esharelevel="+sharelevel+"&subCompanyId=5&hpid=8";
	dlg.Title="元素参数设置";
	dlg.callbackfun=function(datas){
		if(datas){
			if(datas != ""){
				datas = "SynergyParamXML:'"+datas+"'";
			}
			datas = "var postObj = {"+datas+"}";
			eval(datas)
			$.post('/synergy/browser/operationCommon.jsp?eid='+eid+'&ebaseid='+ebaseid+'&esharelevel='+sharelevel+'&ePerpageValue='+ePerpageValue+'&hpid=8', postObj,				  
					function(data){
						  if($.trim(data)=="") 	{
							  //$("#setting_"+eid).hide();
							  //$("#setting_"+eid).remove(); 
							  if(ebaseid=="news"||parseInt(ebaseid)==7||parseInt(ebaseid)==1||parseInt(ebaseid)==29){
							  	 $.post('/page/element/compatible/NewsOperate.jsp',{method:'submit',eid:eid},function(data){
							  	 	if($.trim(data)==""){
							  	 		//$("#item_"+eid).attr('needRefresh','true')
							  	 		//$("#item_"+eid).trigger("reload");
							  	 	}
							  	 });
							  }else{
							  	 //$("#item_"+eid).attr('needRefresh','true')
							  	 //$("#item_"+eid).trigger("reload");
							  }
			    		  }
					}
			);
		}
		dlg.close();
	}
	dlg.show();
}


function synParamSetting(eid,ebaseid){
	var sharelevel=$("input[name=_esharelevel_"+eid+"]").val();
	var ePerpageValue=5;
 	var dlg=new window.top.Dialog();//定义Dialog对象
	dlg.Model=true;
	dlg.Width=800;//定义长度
	dlg.Height=460;
	dlg.URL="/synergy/maintenance/SynergyElementSet4Param.jsp?eid="+eid+"&ebaseid="+ebaseid+"&esharelevel="+sharelevel+"&subCompanyId=5&hpid=8";
	dlg.Title="元素参数设置";
	dlg.callbackfun=function(datas){
		if(datas){
			if(datas != ""){
				datas = "SynergyParamXML:'"+datas+"'";
			}
			datas = "var postObj = {"+datas+"}";
			eval(datas)
			$.post('/synergy/browser/operationCommon.jsp?eid='+eid+'&ebaseid='+ebaseid+'&esharelevel='+sharelevel+'&ePerpageValue='+ePerpageValue+'&hpid=8', postObj,				  
					function(data){
						  if($.trim(data)=="") 	{
							  //$("#setting_"+eid).hide();
							  //$("#setting_"+eid).remove(); 
							  if(ebaseid=="news"||parseInt(ebaseid)==7||parseInt(ebaseid)==1||parseInt(ebaseid)==29){
							  	 $.post('/page/element/compatible/NewsOperate.jsp',{method:'submit',eid:eid},function(data){
							  	 	if($.trim(data)==""){
							  	 		//$("#item_"+eid).attr('needRefresh','true')
							  	 		//$("#item_"+eid).trigger("reload");
							  	 	}
							  	 });
							  }else{
							  	 //$("#item_"+eid).attr('needRefresh','true')
							  	 //$("#item_"+eid).trigger("reload");
							  }
			    		  }
					}
			);
		}
		dlg.close();
	}
	dlg.show();
}
 
 
function showSynParamSetting2Wf(eid,tabid,ebaseid){
	var ePerpageValue=5;
	var sharelevel=$("input[name=_esharelevel_"+eid+"]").val();
 	var dlg=new window.top.Dialog();//定义Dialog对象
	dlg.Model=true;
	dlg.Width=460;//定义长度
	dlg.Height=240;
	dlg.URL="/synergy/maintenance/SynergyElementSet4Wf.jsp?pagetype=&eid="+eid+"&ispagedeal=&ebaseid="+ebaseid+"&tabid="+tabid+"&esharelevel="+sharelevel+"&subCompanyId=5&hpid=8&wfid=0&nodeid=0";
	dlg.Title="流程参数设置";
	dlg.callbackfun=function(datas){
		if(datas){
			if(datas != ""){
				datas = "SynergyParamXML:'"+datas+"'";
			}
			datas = "var postObj = {"+datas+"}";
			eval(datas)
			$.post('/synergy/browser/operationCommon.jsp?eid='+eid+'&ebaseid='+ebaseid+'&tabid='+tabid+'&esharelevel='+sharelevel+'&ePerpageValue='+ePerpageValue+'&hpid=8', postObj,				  
					function(data){
						  if($.trim(data)=="") 	{
							  //$("#setting_"+eid).hide();
							  //$("#setting_"+eid).remove(); 
							  if(ebaseid=="news"||parseInt(ebaseid)==7||parseInt(ebaseid)==1||parseInt(ebaseid)==29){
							  	 $.post('/page/element/compatible/NewsOperate.jsp',{method:'submit',eid:eid},function(data){
							  	 	if($.trim(data)==""){
							  	 		//$("#item_"+eid).attr('needRefresh','true')
							  	 		//$("#item_"+eid).trigger("reload");
							  	 	}
							  	 });
							  }else{
							  	 //$("#item_"+eid).attr('needRefresh','true')
							  	 //$("#item_"+eid).trigger("reload");
							  }
			    		  }
					}
			);
		}
		dlg.close();
	}
	dlg.show();
}

//=====================================协同结束

function closeDialogCallback() {
	var hpid = "8";
	
	//获取元素详细信息
	var elements = "";
	var items = $(".item");
	for (var i = 0, length = items.length; i < length; i++) {
		//var id = $(items[i]).attr("eid");
		var name = $(items[i]).find(".title").text();
		
		elements += name + ",";
	}
	
	$.post(
		"/homepage/maint/HomepageForWorkflowOperation.jsp",
		{method:"getFormFilterId",hpid: "8"},
		function (data) {
			var result = {hpid:hpid, elements:elements.substring(0, elements.length - 1), trifields:$.trim(data)};
			
			var dialog = parent.parentDialog;   //弹出窗口的引用，用于关闭页面
			dialog.close(result);
		}
	);
	
	
}

function onAddElement(ebaseid,styleid){
    
	var hpid="8";
	if(hpid==''||hpid==0){
		top.Dialog.alert("需保存基本信息!");
		return;
	}
	var hpstyleid = "1390381555293";
	if(hpstyleid!="") styleid = hpstyleid;
	
	////=======协同区开始
	if(hpid <0){
		var suffix = $(".item").length + 1;
		if(suffix > 6) {
			var i = 0; 
			i = Math.floor(suffix / 6);
			suffix = suffix - 6 * i;
		}
		styleid = styleid + suffix;
	}
	////=======协同区结束
	if($(".item").length==10){
		if(confirm("继续添加会影响页面性能，还要继续吗？")){
			url="/homepage/element/ElementPreview.jsp?ebaseid="+ebaseid+"&styleid="+styleid+"&hpid=8&subCompanyId=5&fromModule=Portal&layoutflag=A";	
			GetContent("divInfo",url,true);
		}
	}else{
		url="/homepage/element/ElementPreview.jsp?ebaseid="+ebaseid+"&styleid="+styleid+"&hpid=8&subCompanyId=5&fromModule=Portal&layoutflag=A";	
		GetContent("divInfo",url,true);
	}

}

function onDel(eid){	
    if(!confirm("您确认关闭此元素吗？")) return;

    var group=$($("#item_"+eid).parents(".group")[0]);
    var flag=group.attr("areaflag");
    var eids="";
    
    $(group).children("div .item").each(function(){
        if($(this).attr("eid")!=eid)  	eids+=$(this).attr("eid")+",";
    });
    //alert(eids);
    $.get("/homepage/element/EsettingOperate.jsp",
    	  {method: "delElement", hpid: "8",eid:eid,delFlag:flag,delAreaElement:eids,subCompanyId:"5"},
		  function(data){		  	  
    		  if($.trim(data)=="") 	{
    		  	$("#item_"+eid).remove();
    		  } else {
    		  	alert($.trim(data))
    		  }
		  }
    );
}
function doWorkflowEleSet(eid,ebaseid){
    try{ 
    	//var formAction =$("#dialogIframe_"+eid).contents().find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").attr("action")
		var formAction ="/homepage/element/setting/WorkflowCenterOpration.jsp";
		var orders = getTabOrders(eid);
		$.post(formAction,{method:'submit',eid:eid,orders:orders},function(data){
		    doUseSetting(eid,ebaseid);
		}); 
    
    	//document.frames["ifrmViewType_"+eid].document.getElementById("btnSave").click();    	
 	}catch(e){}		
}

function showTabs(eid,tabid){
	$("#setting_"+eid).find(".settingtabcurrent").removeClass("settingtabcurrent");
	if(tabid=="tabContent"){
		jQuery("#weavertabs-content-"+eid).show();
        jQuery("#weavertabs-style-"+eid).hide();
		jQuery("#weavertabs-share-"+eid).hide();
		$("#setting_"+eid).find("#tabContent").addClass("settingtabcurrent");
	}else if(tabid=="tabStyle"){
		jQuery("#weavertabs-style-"+eid).show();
		jQuery("#weavertabs-share-"+eid).hide();
		jQuery("#weavertabs-content-"+eid).hide();
		$("#setting_"+eid).find("#tabStyle").addClass("settingtabcurrent");
	}else if(tabid=="tabShare"){
		jQuery("#weavertabs-share-"+eid).show();
		jQuery("#weavertabs-content-"+eid).hide();
		jQuery("#weavertabs-style-"+eid).hide();
		$("#setting_"+eid).find("#tabShare").addClass("settingtabcurrent");
	}

}
var randomValue;
function onSetting(eid,ebaseid){
	
	
	//获取设置页面内容
	var settingUrl="/page/element/setting.jsp?pagetype=&eid="+eid+"&ebaseid="+ebaseid+"&hpid=8&subcompanyid=5";
	$.post(settingUrl, null,
		function(data){
		  if($.trim(data)!="") 	{
		  	  $("#setting_"+eid).hide();	
		  	  $("#setting_"+eid).remove(); 
		  	  $("#content_"+eid).prepend($.trim(data))
		  	  //$("#setting_"+eid+" .weavertabs").weavertabs({selected:0});
				
				$(".tabs").PortalTabs({
			        getLine:1,
			        topHeight:40
			    });
			    $(".tab_box").height(0);
				$("#setting_"+eid).show();	
				$("#weavertabs-content-"+eid).show();
				
				var urlContent=$.trim($("#weavertabs-content-"+eid).attr("url")).replace(/&amp;/g,"&");
				var urlStyle=$.trim($("#weavertabs-style-"+eid).attr("url")).replace(/&amp;/g,"&");
				var urlShare=$.trim($("#weavertabs-share-"+eid).attr("url")).replace(/&amp;/g,"&");	
				
				//alert(document.getElementById("weavertabs-content-"+eid));
				
				if(urlContent!="") {
					if(ebaseid==7||ebaseid==8||ebaseid==1||ebaseid=='news'||ebaseid==29){
						//randomValue =Math.round(Math.random()*(100-1)+1)
						randomValue = new Date().getTime();
						$("#setting_"+eid).attr("randomValue",randomValue);
					}
					urlContent = urlContent+"&random="+randomValue;
					
					$("#weavertabs-content-"+eid).html("")
					$("#weavertabs-content-"+eid).html("<img src=/images/loading2_wev8.gif> 处理中...");
					$("#weavertabs-content-"+eid).load(urlContent,{},function(){
						//alert($("#weavertabs-content-"+eid).html())
						//$("#tabDiv_"+eid).dialog('destroy');
						$("#sync_datacenter_"+eid).tzCheckbox({labels:['','']});
						$(".filetree").filetree();
						$(".vtip").simpletooltip();
						fixedPosition(eid);
						jscolor.init();
						//初始化layout组件
						initLayout();
					});
				}
				if(urlStyle!="") $("#weavertabs-style-"+eid).load(urlStyle,{},function(){
					
					var checkimg=$("#eLogo_"+eid).attr("value");
					$("#weavertabs-style-"+eid+" .filetree").filetree({"file":checkimg});
					//$("#weavertabs-style-"+eid+" .filetree").filetree();
					//初始化layout组件
					initLayout();
					$("#weavertabs-style-"+eid).hide();
					
				});
				
				if(urlShare!="") $("#weavertabs-share-"+eid).load(urlShare,{},function(){
					//$("#weavertabs-share-"+eid+" .filetree").filetree();
					$("#weavertabs-share-"+eid).hide();
				});
   		  }
   		  
	});
	
	//以下处理所有tabs插件	
	

	
	//log("urlContent:"+urlContent);
	//log("urlStyle:"+urlStyle);
}
function onNoUseSetting(eid,ebaseid){
 if(ebaseid=="news"||parseInt(ebaseid)==7||parseInt(ebaseid)==1 || ebaseid=="reportForm" ||parseInt(ebaseid)==29){
  	 $.post('/page/element/compatible/NewsOperate.jsp',{method:'cancel',eid:eid},function(data){
  	 	if($.trim(data)==""){
  	 		//$("#item_"+eid).attr('needRefresh','true')
  	 		//$("#item_"+eid).trigger("reload");
  	 	}
  	 });
  }else if(parseInt(ebaseid)==8){
  		var formAction ="/homepage/element/setting/WorkflowCenterOpration.jsp";
    	$.ajax({
                url :formAction,
                data:{method:'cancel',eid:eid},
                cache : false, 
                async : true,
                type : "post",
                dataType : 'json',
                success : function (result){
                	
                }
            });
  }
  //外部数据元素有所不同需要刷新一次
  if(ebaseid=="OutData") {
  	$("#item_"+eid).attr('needRefresh','true')
	$("#item_"+eid).trigger("reload");
  }
 $("#setting_"+eid).hide();
 $("#setting_"+eid).remove();
 fixedPosition(eid);
}

function doUseSetting(eid,ebaseid){		
    
	/*对知识订阅元素进行特殊处理*/
	if(ebaseid==34){
		var begin = document.getElementById("begindate_"+eid).value;
		var end = document.getElementById("enddate_"+eid).value;
		if(begin != "" && end != ""){
			if(begin > end){
				alert("结束时间不能在开始时间之前");
				return;
			}
		}
	}
	//common部分处理
	var ePerpageValue=5;
	var eShowMoulde='0';
	var eLinkmodeValue ='';
	var esharelevel = '';
	try{
		if(document.getElementById("_ePerpage_"+eid)!=null){
	    	ePerpageValue=$("#_ePerpage_"+eid).val();
	    }
	    if(document.getElementById("_eShowMoulde_"+eid)!=null){
	    	eShowMoulde=document.getElementById("_eShowMoulde_"+eid).value;
	    }
	    if(document.getElementById("_eLinkmode_"+eid)!=null){
	    	eLinkmodeValue=$("#_eLinkmode_"+eid).val();
	    }
	    
		esharelevel=$("input[name=_esharelevel_"+eid+"]").val();
	} catch(e){
	}
		var eFieldsVale="";
		var chkFields=document.getElementsByName("_chkField_"+eid);
		if (chkFields!=null){
			for(var i=0;i<chkFields.length;i++){
				var chkField=chkFields[i];
				if(chkField.checked) eFieldsVale+=chkField.value+",";
			}
			if(eFieldsVale!="") eFieldsVale=eFieldsVale.substring(0,eFieldsVale.length-1);
		}
		var imsgSizeStr ="";
		if($("input[name=_imgWidth"+eid+"]").val()){
			
			var imgWidth = $("input[name=_imgWidth"+eid+"]").val();
			var imgHeight = $("input[name=_imgHeight"+eid+"]").val();
			
			if(imgWidth.replace(/(^\s*)|(\s*$)/g, "") == ""){
				imgWidth = "0";
			}
			if(imgHeight.replace(/(^\s*)|(\s*$)/g, "")==""){
				imgHeight = "0";
			}
			var imgSize = imgWidth+"*"+imgHeight;
			
			imsgSizeStr = "imgSize_"+$("input[name=_imgWidth"+eid+"").attr("basefield");
		}
		
		var imgType=0;
		var imgSrc = "";
		if(document.getElementById("_imgType"+eid)!=null){
			imgType=document.getElementById("_imgType"+eid).value;
			
			if(imgType==1){
				imgSrc = $("#_imgsrc"+eid).val();
			}
		}
		
		//得到上传时的字数标准
		
		var newstemplateStr = "";
		if(document.getElementById("_newstemplate"+eid)!=null){
			newstemplateStr = document.getElementById("_newstemplate"+eid).value
		}
		var eTitleValue="";
		var whereKeyStr="";
		if(esharelevel=="2"){
			var eTitleValue=document.getElementById("_eTitel_"+eid).value;
			var _whereKeyObjs=document.getElementsByName("_whereKey_"+eid);
			if(eTitleValue.indexOf('%')!=-1) {
				//alert("标题中不能包括特殊字符'%'");
				//return;
			}
			//alert(escape(eTitleValue));
			$("#title_"+eid).html(eTitleValue.replace(/ /gi,"&nbsp;"));
			$("#title_"+eid).append("<span id='count_"+eid+"'></span>");
			eTitleValue = eTitleValue.replace(/\\/g,"\\\\");
			eTitleValue = eTitleValue.replace(/'/g,"\\'");
			eTitleValue = eTitleValue.replace(/"/g,"\\\"");
			if(ebaseid == 'notice'){
				onchanges(eid);
			}
			//newstr=newstr.replace(/&/g,"',");
			//eTitleValue = $("#title_"+eid).html();	
			//eTitleValue = escape(eTitleValue)		
			//得到上传的SQLWhere语句
            if(ebaseid !== "reportForm"){
                for(var k=0;k<_whereKeyObjs.length;k++){
    				var _whereKeyObj=_whereKeyObjs[k];	
    				if(_whereKeyObj.tagName=="INPUT" && _whereKeyObj.type=="checkbox" &&! _whereKeyObj.checked) continue;
    				if(ebaseid=='reportForm'){
    					if(_whereKeyObj.tagName=="INPUT" && _whereKeyObj.type=="radio" &&! _whereKeyObj.checked) continue;			
    				}
    				whereKeyStr+=_whereKeyObj.value+"^,^";			
    			}
            }
            //else if(ebaseid == "reportForm"){
         //       $("#tabSetting_"+eid +" tr").find(".ctitle").each(function(i){
         //       	whereKeyStr += $(this).attr("sqlWhere")+"_$_";		
         //       })
         //   }
		}
		if(whereKeyStr!="") whereKeyStr=whereKeyStr.substring(0,whereKeyStr.length-3);	
		whereKeyStr = whereKeyStr.replace(/'/g,"\\'");
		//当日计划特殊处理
		if(ebaseid == 15){
		   whereKeyStr=$("#_whereKey_"+eid).val();
		}

		//仅对多文档中心元素进行此处理，修正td21552
		if(whereKeyStr != null && $.trim(whereKeyStr) != ""&&ebaseid=='17'){
			var whereStr = $.trim(whereKeyStr).split('^,^');
			if(whereStr[1] != null && whereStr[1] != "" && whereStr[1].length != 0) {
				$("#more_"+eid).attr("href","javascript:openFullWindowForXtable('/page/element/compatible/more.jsp?ebaseid="+ebaseid+"&eid="+eid+"')");
				$("#more_"+eid).attr("morehref","/page/element/compatible/more.jsp?ebaseid="+ebaseid+"&eid="+eid);
			}else{
				$("#more_"+eid).attr("href","#");
				$("#more_"+eid).attr("morehref","");
			}
		}

		
		var scolltype = "";
		if(document.getElementsByName("_scolltype"+eid).length>0){
			scolltype=document.getElementsByName("_scolltype"+eid)[0].value;
			//whereKeyStr+="^,^"+scolltype;
			
		}
	
		//alert(scolltype);
		//eTitleValue=eTitleValue.replace(/&/g, "%26");//把eTitleValue中的&换成%26;
		//eTitleValue = encodeURIComponent(eTitleValue)
		//alert(eTitleValue) 
		//用户自定义元素内容部分
		
		//相关的样式设置部分
		var eLogo=$("#eLogo_"+eid).val();
		var eStyleid=$("#eStyleid_"+eid).val();	
		var eHeight=$("#eHeight_"+eid).val();	
		var eMarginTop=$("#eMarginTop_"+eid).val();
		var eMarginBottom=$("#eMarginBottom_"+eid).val();
		var eMarginLeft=$("#eMarginLeft_"+eid).val();
		var eMarginRight=$("#eMarginRight_"+eid).val();	
		var eIsNew="";
		var eIsBold="";
		var eIsRgb="";
		var eNewColor="";
		var eIsLean=""; 
		
		if($("#isnew_"+eid).attr("checked")==true){
			eIsNew=$("#isnew_"+eid).val();
		}
		if($("#isbold_"+eid).attr("checked")==true){
			eIsBold=$("#isbold_"+eid).val();
		}
		if($("#isrgb_"+eid).attr("checked")==true){
			eIsRgb=$("#isrgb_"+eid).val();
		}
		if($("#islean_"+eid).attr("checked")==true){
			eIsLean=$("#islean_"+eid).val();
		}
		var eNewColor="#"+$("#newcolor_"+eid).val();
		
		//相关的共享设置部分
		var operationurl=$.trim($("#setting_"+eid).attr("operationurl")).replace(/&amp;/g,"&");
		//alert(eid)
		var postStr = "eid:'"+eid+"',eShowMoulde:'"+eShowMoulde+"',ebaseid:'"+ebaseid+"',eTitleValue:'"+eTitleValue+"',ePerpageValue:'"+ePerpageValue+"',eLinkmodeValue:'"+eLinkmodeValue+"',";
			postStr	+="eFieldsVale:'"+eFieldsVale+"',imgSizeStr:'"+imgSize+"',whereKeyStr:'"+whereKeyStr+"',esharelevel:'"+esharelevel+"',hpid:'"+'8'+"',subCompanyId:'"+'5'+"',";
			postStr	+="eLogo:'"+eLogo+"',eStyleid:'"+eStyleid+"',eHeight:'"+eHeight+"',newstemplate:'"+newstemplateStr+"',imgType:'"+imgType+"',imgSrc:'"+imgSrc+"',eScrollType:'"+scolltype+"',"
			postStr	+="eMarginTop:'"+eMarginTop+"',eMarginBottom:'"+eMarginBottom+"',eMarginLeft:'"+eMarginLeft+"',eMarginRight:'"+eMarginRight+"',isnew:'"+eIsNew+"',isbold:'"+eIsBold+"',isrgb:'"+eIsRgb+"',islean:'"+eIsLean+"',newcolor:'"+eNewColor+"'";

			/*对外部数据元素的内容进行特殊处理*/
		if(ebaseid=="OutData") {
			var nums = $("#nums_"+eid).val();
			postStr = "eid:'"+eid+"',eShowMoulde:'"+eShowMoulde+"',ebaseid:'"+ebaseid+"',eTitleValue:'"+eTitleValue+"',ePerpageValue:'"+nums+"',eLinkmodeValue:'"+eLinkmodeValue+"',";
			postStr	+="eFieldsVale:'"+eFieldsVale+"',imgSizeStr:'"+imgSize+"',whereKeyStr:'"+whereKeyStr+"',esharelevel:'"+esharelevel+"',hpid:'"+'8'+"',subCompanyId:'"+'5'+"',";
			postStr	+="eLogo:'"+eLogo+"',eStyleid:'"+eStyleid+"',eHeight:'"+eHeight+"',newstemplate:'"+newstemplateStr+"',imgType:'"+imgType+"',imgSrc:'"+imgSrc+"',eScrollType:'"+scolltype+"',"
			postStr	+="eMarginTop:'"+eMarginTop+"',eMarginBottom:'"+eMarginBottom+"',eMarginLeft:'"+eMarginLeft+"',eMarginRight:'"+eMarginRight+"',isnew:'"+eIsNew+"',isbold:'"+eIsBold+"',isrgb:'"+eIsRgb+"',islean:'"+eIsLean+"',newcolor:'"+eNewColor+"'";
			postStr +=",nums:'"+nums+"'";
			
		}
		var wordcountStr="";
		var _wordcountObjs=document.getElementsByName("_wordcount_"+eid);

		for(var j=0;j<_wordcountObjs.length;j++){
			var wordcountObj=_wordcountObjs[j];
			var basefield=$(wordcountObj).attr("basefield");
			wordcountStr+="&wordcount_"+basefield+"="+wordcountObj.value;
			postStr+=",wordcount_"+basefield+":'"+wordcountObj.value+"'";
		}

		 
		 var custformitem=$("#setting_form_"+eid);
        if(custformitem.length===0  &&  (ebaseid==='DataCenter' || ebaseid==='searchengine' || ebaseid==='news' || ebaseid==='menu' || ebaseid==='Flash' || ebaseid==='notice' || ebaseid==='picture' || ebaseid==='scratchpad' || ebaseid==='weather' || ebaseid==='favourite' || ebaseid==='video' ||  ebaseid==='Slide'  || ebaseid==='audio'||ebaseid==='jobsinfo'||ebaseid==='addwf'||ebaseid==='outterSys')){
		   custformitem=$("#weavertabs-content-"+eid);
           if(ebaseid==='DataCenter' || ebaseid==='picture' || ebaseid==='weather' || ebaseid==='news' || ebaseid==='menu' || ebaseid==='Flash' || ebaseid==='favourite' || ebaseid==='video' || ebaseid==='Slide' || ebaseid==='audio'||ebaseid==='jobsinfo'||ebaseid==='addwf'||ebaseid==='outterSys'){
		     var pitem=custformitem.parent();
		     var pitem=custformitem.parent();
             custformitem=$("<form id='#setting_form_"+eid+"'></form>").append(custformitem);
			 pitem.append(custformitem);
		   }else
		   custformitem=$("<form></form>").append(custformitem.clone());
		}

		//自定义表单参数处理
		var newstrform = custformitem.serialize();
		//alert(ebaseid);
        //alert(custformitem.html());
		var paramstr=newstrform.split("&");
		var newitem={};
		
		var parammap;
		for(var i=0;i<paramstr.length;i++){
		     parammap=paramstr[i].split("=");
			 newitem[parammap[0]]=decodeURIComponent(parammap[1]).replace(/\+/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">");
		}
		
		var newstr="";
        if(ebaseid == "weather") {
			var weatherWidth;       
			var wWidth = $("#content_view_id_"+eid).width(); 
			if(newstr != null && newstr != "" && newstr.length != 0) {
				var weatherWidth = newstr.substring(newstr.lastIndexOf("'")+1);    
				var reg=new RegExp("[\+\]","g");
				weatherWidth=weatherWidth.replace(reg,"");     
				if(weatherWidth == null || 
						weatherWidth == "" || 
						isNaN(weatherWidth) || 
						parseFloat(weatherWidth) > parseFloat(wWidth) || 
						parseFloat(weatherWidth) <= 0) {   
					var lNewStr = newstr.substring(0,newstr.lastIndexOf("'")+1);
					newstr = lNewStr+wWidth;
				}else{
					var lNewStr = newstr.substring(0,newstr.lastIndexOf("'")+1);
					newstr = lNewStr+weatherWidth;
				}
			}
		}else if(ebaseid=="FormModeCustomSearch"){
			var pageform = $("#setting_form_"+eid);
			
			var formmode_esharelevel = $("[name='_esharelevel_"+eid+"']").val();
			var formmode_reportId = $("#reportId_"+eid).val();
			var formmode_fields = $("#fields_"+eid).val();
			var formmode_fieldsWidth = $("#fieldsWidth_"+eid).val();
			
			newstr="_esharelevel_"+eid+":'"+formmode_esharelevel+"',"
			+"reportId_"+eid+":'"+formmode_reportId+"',"
			+"fields_"+eid+":'"+formmode_fields+"',"
			+"fieldsWidth_"+eid+":'"+formmode_fieldsWidth+"";
		}
	    	
		if(newstr!=""){
			postStr = postStr+","+newstr+"'";
		}
		//alert(encodeURI(postStr))
        postStr = "var postObj = {"+postStr+"}";
		eval(postStr);
        
		//添加表单参数
		for(var item in newitem){
		   postObj[item]=newitem[item];
		}
		var orderStr = getTabOrders(eid);
		$.post(operationurl, postObj,
				function(data){
					  if($.trim(data)=="") 	{
						  $("#setting_"+eid).hide();
						  $("#setting_"+eid).html('');
						  $("#setting_"+eid).remove();
						  if(ebaseid=="reportForm"||ebaseid=="news"||parseInt(ebaseid)==7||parseInt(ebaseid)==1||parseInt(ebaseid)==29){
						  	 $.post('/page/element/compatible/NewsOperate.jsp',{method:'submit',eid:eid,orders:orderStr},function(data){
						  	 	if($.trim(data)==""){
						  	 		$("#item_"+eid).attr('needRefresh','true');
						  	 		$("#item_"+eid).trigger("reload");
						  	 	}
						  	 });
						  }else{
						  	 $("#item_"+eid).attr('needRefresh','true');
						  	 $("#item_"+eid).trigger("reload");
						  }
		    		  }else{
		    		  	data = $.parseJSON($.trim(data));
						if(data&&data.__result__===false){
							top.Dialog.alert(data.__msg__);
						}
		    		  }
				}
		);
		if(window.frames["eShareIframe_"+eid]&&esharelevel=="2"){
			window.frames["eShareIframe_"+eid].document?window.frames["eShareIframe_"+eid].document.getElementById("frmAdd_"+eid).submit():"";	
		}
		
		if(ebaseid == "menu") {
			setTimeout(function rload(){
				location.reload();
			},200);
		}
		
		//元素共享设置提交
		
			
	 //} catch(e){
	//	 alert(e)
	 //}
	fixedPosition(eid);
}

function onUseSetting(eid,ebaseid){		
	if($("#reportId_"+eid).val()==""&&ebaseid=="FormModeCustomSearch"){
		Dialog.alert("必要信息不完整！",function(){});//必要信息不完整！
		return;
	}
	if(ebaseid==8) { /*对流程中心元素进行特殊处理*/
		doWorkflowEleSet(eid,ebaseid);
		//return; 
	}else{
		doUseSetting(eid,ebaseid);
	}	
}



function onLockOrUn(eid,ebaseid,obj){
	
    if(confirm("此操作可能需要较长时间，是否继续？")){
    	
        divInfo.style.display='inline';
        var url;
        
        
        if(jQuery(obj).attr("status")=="unlocked"){
            url="/homepage/element/EsettingOperate.jsp?method=locked&eid="+eid+"&hpid=8&subCompanyId=5";
        } else {
            url="/homepage/element/EsettingOperate.jsp?method=unlocked&eid="+eid+"&hpid=8&subCompanyId=5";
        }
        log(url)
        $.get(url,{},function(data){
            log($.trim(data));
          
        	divInfo.style.display='none';
        	if(jQuery(obj).attr("status")=="unlocked"){
                jQuery(obj).attr("status","locked");   
            } else {
                jQuery(obj).attr("status","unlocked");
            }           
            //
        	jQuery(obj).children(":first").attr("src",$.trim(data));
         });
        
    }
}

function MoveEData(srcFlag,targetFlag){
	var srcItemEids=""; 
	$(".group[areaflag="+srcFlag+"]>.item").each(function(i){
		if(this.className=="item")	{
			srcItemEids+=$(this).attr("eid")+",";
		}
	})
	
	var targetItemEids="";   
	$(".group[areaflag="+targetFlag+"]>.item").each(function(i){
		if(this.className=="item")	{
			targetItemEids+=$(this).attr("eid")+",";
		}
	})  
	//log("src"+srcFlag+"-"+srcItemEids);
	//log("target:"+targetFlag+"-"+targetItemEids);

	var url="/homepage/element/EsettingOperate.jsp?method=editLayout&hpid=8&subCompanyId=5&srcFlag="+srcFlag+"&targetFlag="+targetFlag+"&srcStr="+srcItemEids+"&targetStr="+targetItemEids;		
	GetContent(divInfo,url,false);	
	
}
function   doSynize(obj){
   window.top.Dialog.confirm('此操作可能需要较长时间，是否继续？',function(){
        //obj.disabled=true;
        divInfo.style.display='inline';
        var code="divInfo.style.display=\"none\";";
        var url='/homepage/maint/HomepageMaintOperate.jsp?method=synihp&subCompanyId=5&hpid=8'
        GetContentForSynize(divInfo,url,false,code);
  });
}
function   doSynizeNormal(obj){
	var isNeedRefresh=1;
    
   window.top.Dialog.confirm('此操作可能需要较长时间，是否继续？',function(){
        //obj.disabled=true;
        divInfo.style.display='inline';
        var code="divInfo.style.display=\"none\";";
        var url='/homepage/maint/HomepageMaintOperate.jsp?method=synihpnormal&subCompanyId=5&hpid=8'
        GetContentForSynize(divInfo,url,false,code,isNeedRefresh);
   });
}
function openMaginze(obj,url,linkmode){
  url=url+obj.value;
  if(linkmode=="1") window.location=url; 
  if(linkmode=="2") openFullWindowForXtable(url);
}

//菜单
function onMenuDivClick(hpid,subCompanyId){
	window.location="/homepage/Homepage.jsp?hpid="+hpid+"&subCompanyId="+subCompanyId+"&isfromportal=1&isfromhp=0"
}


/**
	添加Tab页
*/
function addTab(eid,url,ebaseid){
	
	var tabCount = $("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).attr("tabCount");
	tabCount = parseInt(tabCount);
	tabCount++;
	
	var url = $("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).attr("url");
	url+="&tabId="+tabCount
	showTabDailog(eid,'add',tabCount,url,ebaseid)
}


/**
	删除Tab页
*/
function deleTab(eid,tabId,ebaseid){
	var formAction="";
	if(parseInt(ebaseid)==8){
		formAction ="/homepage/element/setting/WorkflowCenterOpration.jsp";
	}else if(ebaseid=="reportForm"|| ebaseid=="news"||parseInt(ebaseid)==7||parseInt(ebaseid)==1||parseInt(ebaseid)==29){
		formAction ="/page/element/compatible/NewsOperate.jsp";
	} else if(ebaseid=="OutData") {
		if(confirm("确认删除吗")) {
			formAction ="/page/element/OutData/tabOperation.jsp?type=";
		} else {
			return;
		}
	}
	var para = {method:'delete',eid:eid,tabId:tabId};
	$.post(formAction,para,function(data){
		if($.trim(data)==""){
			try{
				var tabArr = tabId.split(";");
				for(var i=0; i <tabArr.length; i ++){
					$("#setting_"+eid).find("#tab_"+eid+"_"+tabArr[i]).parent().parent().remove();
				}
			}catch(e){
				$("#setting_"+eid).find("#tab_"+eid+"_"+tabId).parent().parent().remove();
			}
			
		}
	});
	
}
function batchDeleTab(eid,ebaseid){
	var	tableId= 'tabSetting_';
//	var rows = [];
	var j=0;
	var tabIds = "";
	$("#"+tableId+eid+" tr").find('[name=checkrow_'+eid+']').each(function(i){
		if($(this).attr('checked')){
		//	rows[j++] = $(this).parent().parent();
			j++;
			tabIds += $(this).parent().parent().find('[tabId]').attr('tabId')+";";
		}
	})
	if(j == 0){
		top.Dialog.alert('请至少选择一条记录。');
	}else{
		top.Dialog.confirm('确定要删除吗?',function(){
			tabIds = tabIds.substring(0,tabIds.length-1);
			//if('reportForm' == ebaseid){
			//	var tabArr = tabIds.split(";");
			//	for(var i=0; i <tabArr.length; i ++){
			//		$("#setting_"+eid).find("#tab_"+eid+"_"+tabArr[i]).parent().parent().remove();
			//	}
			//}else{
				deleTab(eid,tabIds,ebaseid);
			//}
			$('#checkAll_'+eid).attr("checked",false);
		});
	}	
}
function checkAllRows(eid,tableId){
	if(tableId == null){
		tableId= 'tabSetting_';
	}
	var ischeck = $('#checkAll_'+eid).attr("checked");
	$("#"+tableId+eid+" tr").find('[name=checkrow_'+eid+']').each(function(i){
		$(this).attr('checked',ischeck);
	})
}
/**
	编辑Tab页
*/
function editTab(eid,tabId,ebaseid){
	
	var url = $("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).attr("url");
	var tabTitle = $("#tab_"+eid+"_"+tabId).attr("tabTitle");
	
	tabTitle = encodeURIComponent(encodeURIComponent(tabTitle));
	url+="&tabId="+tabId+"&tabTitle="+tabTitle;
	if(ebaseid=="news" || parseInt(ebaseid)==7||parseInt(ebaseid)==1||parseInt(ebaseid)==29){
		var tabWhere = $("#tab_"+eid+"_"+tabId).attr("tabWhere");
		url+="&value="+tabWhere;
	}else if(ebaseid=="reportForm"){
	}else{
		var showCopy = $("#tab_"+eid+"_"+tabId).attr("showCopy");
		var countFlag = $("#tab_"+eid+"_"+tabId).attr("countFlag");
		url+="&showCopy="+showCopy+"&countFlag="+countFlag;
	}
	/*if(parseInt(ebaseid)==7 || parseInt(ebaseid)==29){
		var orderNum = $("#tab_"+eid+"_"+tabId).attr("orderNum");
		url+= "&orderNum="+orderNum;
	}*/
	showTabDailog(eid,"edit",tabId,url,ebaseid)
}

/**
	打开对话框
*/
var tab_dialog ;
function showTabDailog(eid,method,tabId,url,ebaseid){
	var whereKeyStr="";
	var showCopy="1";
	var countFlag="1";
	// 更换弹出窗口为zDialog
	if(true){
		tab_dialog = new window.top.Dialog();
		tab_dialog.currentWindow = window;   //传入当前window
	 	tab_dialog.Width = 630;
	 	tab_dialog.Height = 500;
	 	tab_dialog.Modal = true;
	 	tab_dialog.Title = "内容设置"; 
	 	tab_dialog.URL = url+"&ebaseid="+ebaseid+"&method="+method;
	 	tab_dialog.show();
		return;
	}
	/*try{
		$("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).attr("name","dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue"));
		
		$("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).attr("src",url);
		$("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).bgiframe();
		//$("#tabDiv_"+eid).dialog('destroy');
		$("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).dialog({
				id:tabId,
				bgiframe: true,
				autoOpen: false,
				height: 630,
				width:450,
				draggable:true,
				modal: true,
				buttons: {
					'取消': function() {
						$(this).dialog('destroy');
					},
					'确定': function() {
						// 准备Tab页条件数据
						var formParams ={};
						var formAction ="";
						var tabTitle ="";
						var displayTitle="";
						if(parseInt(ebaseid)==8){
							$("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).contents().find("#ifrmViewType_"+eid).contents().find("#btnSave").trigger("click")
							formAction =$("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).contents().find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").attr("action")
							tabTitle = $("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).contents().find("#tabTitle_"+eid).attr("value")
							displayTitle = $("#encodeHTML").text(tabTitle).html();
							$("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).contents().find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").find("#tabTitle").attr("value",tabTitle);
							$("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).contents().find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").find("#tabId").attr("value",tabId);
							$("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).contents().find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").find("#method").attr("value",method);
							formParams = $("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).contents().find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").serializeArray();
							if($("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).contents().find("#showCopy_"+eid).attr("checked")){
								showCopy = "1"
							}else{
								showCopy = "0"
							}
							$("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).contents().find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").find("#showCopy").attr("value",showCopy);
							formAction ="/homepage/element/setting/"+formAction;
						}else if(ebaseid=="news" || parseInt(ebaseid)==7||parseInt(ebaseid)==1||parseInt(ebaseid)==29){
							formAction ="/page/element/compatible/NewsOperate.jsp";
							tabTitle = $("#dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).contents().find("#tabTitle_"+eid).attr("value")
							displayTitle = $("#encodeHTML").text(tabTitle).html();
							
							whereKeyStr = window.frames["dialogIframe_"+eid+"_"+$("#setting_"+eid).attr("randomValue")].getNewsSettingString(eid);
							
							formParams ={eid:eid,tabId:tabId,tabTitle:tabTitle,tabWhere:whereKeyStr,method:method};
						}
						if(tabTitle==''){
							alert('必要信息不完整！')
							return false;		
						}
						//alert(formAction)
						$.post(formAction,formParams,function(data){
							//alert(data)
							if($.trim(data)==""){
									if(method=='add'){
										$("#tabSetting_"+eid+">tbody").append("<TR><TD><span id = tab_"+eid+"_"+tabId+" tabId='"+tabId+"' tabTitle='' tabWhere='"+whereKeyStr+"' showCopy='"+showCopy+"'></span></TD><TD width=100 lign='right'><a href='javascript:deleTab("+eid+","+tabId+",\""+ebaseid+"\")'>删除</a> &nbsp;&nbsp; <a href='javascript:editTab("+eid+","+tabId+",\""+ebaseid+"\")'>设置</a></TD></TR>")
										$("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).attr("tabCount",tabId);
										$("#tab_"+eid+"_"+tabId).html(displayTitle);
										$("#tab_"+eid+"_"+tabId).attr("tabTitle",tabTitle);
									}else{
										$("#tab_"+eid+"_"+tabId).html(displayTitle);
										$("#tab_"+eid+"_"+tabId).attr("tabTitle",tabTitle);
										$("#tab_"+eid+"_"+tabId).attr("showCopy",showCopy);
										$("#tab_"+eid+"_"+tabId).attr("tabWhere",whereKeyStr);
									}
									$("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).dialog('close');
					   		  } else {
					   		  		$("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).dialog('close');
					   		  }
						});
					}
				},
				
				close: function() {
					$("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).dialog('destroy');
					
				}
			});
			$("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).dialog('open');
			$("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).height(373);			
		}catch(e){
			alert(e.message)
		}*/
}
function registerDragEvent(tableId,eid) {
	var fixHelper = function(e, ui) {
		ui.children().each(function() {
		    $(this).width($(this).width()); // 在拖动时，拖动行的cell（单元格）宽度会发生改变。在这里做了处理就没问题了

		    $(this).height($(this).height());
		});
		return ui;
	};

	var copyTR = null;
	var startIdx = 0;

	var idStr = "#"+tableId+eid;
	
	jQuery(idStr + " tbody tr").bind("mousedown", function(e) {
		copyTR = jQuery(this).next("tr.Spacing");
	});
        
    jQuery(idStr + " tbody").sortable({ // 这里是talbe tbody，绑定 了sortable
        helper: fixHelper, // 调用fixHelper
        axis: "y",
        start: function(e, ui) {
            ui.helper.addClass("e8_hover_tr") // 拖动时的行，要用ui.helper
            if(ui.item.hasClass("notMove")) {
            	e.stopPropagation && e.stopPropagation();
            	e.cancelBubble = true;
            }
            if(copyTR) {
       			copyTR.hide();
       		}
       		startIdx = ui.item.get(0).rowIndex;
            return ui;
        },
        stop: function(e, ui) {
            ui.item.removeClass("e8_hover_tr"); // 释放鼠标时，要用ui.item才是释放的行
        	if(ui.item.get(0).rowIndex < 1) { // 不能拖动到表头上方

                if(copyTR) {
           			copyTR.show();
           		}
        		return false;
        	}
           	if(copyTR) {
	       	  	/* if(ui.item.get(0).rowIndex > startIdx) {
	        	  	ui.item.before(copyTR.clone().show());
				}else {
	        	  	ui.item.after(copyTR.clone().show());
				} */
				if(ui.item.prev("tr").attr("class") == "Spacing") {
					ui.item.after(copyTR.clone().show());
				}else {
					ui.item.before(copyTR.clone().show());
				}
	       	  	copyTR.remove();
	       	  	copyTR = null;
       		}
           	return ui;
        }
    });
}

function getTabOrders(eid,elementId){
	var str = "";
	if(elementId == null){
		elementId= 'tabSetting_';
	}
	$("#"+elementId+eid+" tr").find('span[orderNum]').each(function(i){
		$(this).attr('orderNum',i);
		str += $(this).attr('tabId') +"_"+i+";";
	})
	return str.substring(0,str.length-1);
}

function doTabSave(eid,ebaseid,tabId,method){
	// 准备Tab页条件数据
						var tabDocument = tab_dialog.innerDoc
						var tabWindow = tab_dialog.innerWin
						var whereKeyStr="";
						var showCopy="1";
						var countFlag="1";
						var formParams ={};
						var formAction ="";
						var tabTitle ="";
						var orderNum = "0";
						if(method=='add'){
							orderNum = $("#tabSetting_"+eid).length;
						}else{
							orderNum = $("#tab_"+eid+"_"+tabId).attr("orderNum");
						}
			
						var displayTitle="";
						if(parseInt(ebaseid)==8){
							$(tabDocument).find("#ifrmViewType_"+eid).contents().find("#btnSave").trigger("click")
							formAction =$(tabDocument).find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").attr("action")
							tabTitle = $(tabDocument).find("#tabTitle_"+eid).attr("value")
						//	orderNum = $(tabDocument).find("#orderNum_"+eid).attr("value")
							displayTitle = $("#encodeHTML").text(tabTitle).html();
							$(tabDocument).find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").find("#tabTitle").attr("value",tabTitle);
							$(tabDocument).find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").find("#tabId").attr("value",tabId);
							$(tabDocument).find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").find("#method").attr("value",method);
						//	$(tabDocument).find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").find("#orderNum").attr("value",orderNum);
							if($(tabDocument).find("#showCopy_"+eid).attr("checked")){
								showCopy = "1"
							}else{
								showCopy = "0"
							}
							$(tabDocument).find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").find("#showCopy").attr("value",showCopy);
							if($(tabDocument).find("#countFlag_"+eid).attr("checked")){
								countFlag = "1"
							}else{
								countFlag = "0"
							}
							$(tabDocument).find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").find("#countFlag").attr("value",countFlag);
							//序列化表单
							formParams = $(tabDocument).find("#ifrmViewType_"+eid).contents().find("#frmFlwCenter").serializeArray();
							formAction ="/homepage/element/setting/"+formAction;
						}else if(ebaseid=="reportForm" ||ebaseid=="news" || parseInt(ebaseid)==7||parseInt(ebaseid)==1||parseInt(ebaseid)==29){
							formAction ="/page/element/compatible/NewsOperate.jsp";
							tabTitle =$(tabDocument).find("#tabTitle_"+eid).attr("value");
						//	orderNum =$(tabDocument).find("#orderNum_"+eid).attr("value");
							displayTitle = $("#encodeHTML").text(tabTitle).html();
							
							whereKeyStr = tabWindow.getNewsSettingString(eid);
							formParams ={eid:eid,tabId:tabId,tabTitle:tabTitle,tabWhere:whereKeyStr,method:method};//
						}
						if(tabTitle==''){
							alert('必要信息不完整！')
							return false;		
						}
				
				//		formParams['orderNum']=orderNum;
						//alert(formAction)
						$.post(formAction,formParams,function(data){
							if($.trim(data)==""){
									if(method=='add'){
								//		var posOr = getTabPos(eid,orderNum,"tabSetting_"+eid);
										var tabHtmlStr =  '';
										if(false && (parseInt(ebaseid)==8) && (false || false)){// 协同
											tabHtmlStr =  "<TR><TD><input type='checkbox' name='checkrow_"+eid+"'/>&nbsp;<img moveimg src='/proj/img/move_wev8.png' title='拖动'/></TD><TD><span id = tab_"+eid+"_"+tabId+" orderNum='"+orderNum+"' tabId='"+tabId+"' tabTitle='' tabWhere='"+whereKeyStr+"' showCopy='"+showCopy+"' countFlag='"+countFlag+"'></span></TD><TD width=200 lign='right'><a href='javascript:deleTab("+eid+","+tabId+",\""+ebaseid+"\")'>删除</a> &nbsp;&nbsp;&nbsp;  <a href='javascript:editTab("+eid+","+tabId+",\""+ebaseid+"\")'>设置</a>&nbsp;&nbsp;<a href='javascript:showSynParamSetting2Wf("+eid+","+tabId+",\""+ebaseid+"\")'>参数设置</a></TD></TR>";
							//			    $("#tabSetting_"+eid+">tbody").append(tabHtmlStr);
									    }else{
									    	tabHtmlStr ="<TR><TD><input type='checkbox' name='checkrow_"+eid+"'/>&nbsp;<img moveimg src='/proj/img/move_wev8.png' title='拖动'/></TD><TD><span id = tab_"+eid+"_"+tabId+" orderNum='"+orderNum+"' tabId='"+tabId+"' tabTitle='' tabWhere='"+whereKeyStr+"' showCopy='"+showCopy+"'></span></TD><TD width=200 lign='right'><a href='javascript:deleTab("+eid+","+tabId+",\""+ebaseid+"\")'>删除</a> &nbsp;&nbsp;&nbsp;  <a href='javascript:editTab("+eid+","+tabId+",\""+ebaseid+"\")'>设置</a></TD></TR>";
							//		       $("#tabSetting_"+eid+">tbody").append(tabHtmlStr);
									    }
										tabHtmlStr += "<tr class='Spacing' style='height:1px!important;'><td colspan='3' class='paddingLeft0Table'><div class='intervalDivClass' style='display:block''></div></td></tr>";
										$("#tabSetting_"+eid+">tbody").append(tabHtmlStr);
									/*	if(posOr != -1){
											$("#tabSetting_"+eid+">tbody").find('[id='+posOr+']').parent().parent().before(tabHtmlStr);
										}else {
											
										}*/
										
										$("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).attr("tabCount",tabId);
										$("#tab_"+eid+"_"+tabId).html(displayTitle);
										$("#tab_"+eid+"_"+tabId).attr("tabTitle",tabTitle);
									}else{
										$("#tab_"+eid+"_"+tabId).html(displayTitle);
										$("#tab_"+eid+"_"+tabId).attr("tabTitle",tabTitle);
										$("#tab_"+eid+"_"+tabId).attr("showCopy",showCopy);
										$("#tab_"+eid+"_"+tabId).attr("countFlag",countFlag);
										$("#tab_"+eid+"_"+tabId).attr("tabWhere",whereKeyStr);
									/*	if(orderNum != $("#tab_"+eid+"_"+tabId).attr('orderNum')){
											$("#tab_"+eid+"_"+tabId).attr("orderNum",orderNum);
											var posOr = getTabPos(eid,orderNum,"tabSetting_"+eid,"tab_"+eid+"_"+tabId);
											var tempHtml = "<TR>"+$("#tab_"+eid+"_"+tabId).parent().parent().html()+"</TR>";
											$("#tab_"+eid+"_"+tabId).parent().parent().remove();
											if(posOr != -1){
												$("#tabSetting_"+eid+">tbody").find('[id='+posOr+']').parent().parent().before(tempHtml);
											}else {
												$("#tabSetting_"+eid+">tbody").append(tempHtml);
											}
										}*/
									}
									tab_dialog.close();
					   		  } else {
					   		  		data = $.parseJSON($.trim(data));
									if(data&&data.__result__===false){
										top.Dialog.alert(data.__msg__);
									}
					   		  		//tab_dialog.close();
					   		  }
						});

}
function getTabPos(eid,orderNum,elementId,excludeId){
	var allLines = $("#"+elementId+">tbody").find('a[href*=javascript:deleTab]').parent().prev().find('span');
	var posOr = -1;

	for(var i=0; i < allLines.length; i++){
		if(excludeId && excludeId == $(allLines[i]).attr('id')){
			continue;
		}
		if(parseInt(orderNum) <= parseInt($(allLines[i]).attr('orderNum'))){
			posOr = $(allLines[i]).attr('id')
			break;
		}
	}
	return posOr;
}
/**
	验证SQL语句
*/
function checkSql(Obj){
	var sqlStr = jQuery(Obj).val();//event.srcElement.value;
	sqlStr = sqlStr.replace(/\n/g,"");
	sqlStr = sqlStr.replace(/\r/g,"");
	event.srcElement.value = sqlStr;
	sqlStr = " "+sqlStr.toUpperCase();
	if(sqlStr.indexOf(' INSERT ')!=-1||sqlStr.indexOf(' UPDATE ')!=-1 || sqlStr.indexOf(' DELETE ')!=-1 || sqlStr.indexOf(' CREATE ')!=-1|| sqlStr.indexOf(' DROP ')!=-1 ){
		//event.srcElement.value = "";
		jQuery(Obj).val("");
		alert("只能为查询语句")
	}
}
function onBack()
{
	var pagetype = "";
	if(pagetype=="loginview")
	{
		
		window.location="/homepage/base/LoginBase.jsp?hpid=8";
		
	}
	else
	{
		window.location='/homepage/base/HomepageBase.jsp?hpid=8&subCompanyId=5&opt=';
	}
}
function onBackList()
{	
	var pagetype = "";
	if(pagetype=="loginview")
	{
		window.location="/homepage/maint/LoginPageContent.jsp";
	}
	else
	{
		window.location='/homepage/maint/HomepageRight.jsp?subCompanyId=5';
	}
}
function onOk(){
	window.location="/homepage/maint/HomepageRight.jsp?subCompanyId=5";
}


function onAddedOrUn(eid,ebaseid,obj){
    divCenter.style.display='inline';
    var code="divCenter.style.display=\"none\";";
    if(jQuery(obj).attr("status")=="add"){
    	if(confirm("确认把此元素添加到系统提醒中去吗?")){
            jQuery(obj).attr("status","remove");
            obj.src='/images/homepage/style/style1/remove_wev8.png';	
            url="/homepage/element/EsettingOperate.jsp?method=addtoass&eid="+eid;	          
            GetContent(divCenter,url,false,code);
    	}
    } else {
    	if(confirm("确认把此元素从系统提醒中移除吗?")){
            jQuery(obj).attr("status","add");
            obj.src='/images/homepage/style/style1/add_wev8.png';
            url="/homepage/element/EsettingOperate.jsp?method=removefromass&eid="+eid;	        
            GetContent(divCenter,url,false,code);
    	}
    }	    
}

//菜单
function onMenuDivClick(hpid,subCompanyId){
	window.location="/homepage/Homepage.jsp?hpid="+hpid+"&subCompanyId="+subCompanyId+"&isfromportal=1&isfromhp=0"
}
function onSubMenuShow(obj){
	var divCurrent=obj.parentElement;
	var pSibling=divCurrent;

	var subMenu=document.getElementById("divSubMenu");       
	subMenu.style.display='block';

	subMenu.style.position="absolute";
	//subMenu.style.width=pSibling.offsetWidth;
	subMenu.style.posLeft=pSibling.offsetLeft;
	subMenu.style.posTop=pSibling.offsetTop+pSibling.offsetHeight;        
}

function onSubMenuHidden(obj){
	var subMenu=document.getElementById("divSubMenu");       
	subMenu.style.display='none';           
}

/*首页导航栏设置*/
var lastestSubDiv;
/*
   cObj:Current Object
   pObj:Pervious Sibling Object
   sObj:Sub Menu Object
*/
function onShowSubMenu(cObj,sObj){
   
	if (sObj.style.display=="none")    {
		/*初始化其显示的位置及大小*/
		//var pObj=cObj.previousSibling;
		var pObj=$(cObj).prev("div")[0];

		$(sObj).css({
			"position":"absolute",
			"left":$(pObj).offset().left,
			"top":$(pObj).offset().top+$(pObj).height()+10		
		})
		
		if(lastestSubDiv!=null) lastestSubDiv.style.display="none";
		lastestSubDiv=sObj;
		sObj.style.display="";

		//alert(sObj.offsetWidth+":"+pObj.offsetWidth)
		
		var factDivWidth=pObj.offsetWidth+cObj.offsetWidth;		
		if(factDivWidth<sObj.offsetWidth) factDivWidth=sObj.offsetWidth;

		sObj.style.width=factDivWidth;
		if (sObj.canHaveChildren) {
			var childDivs=sObj.children;
			for(var i=0;i<childDivs.length;i++) {
				var aChild=childDivs[i];
				if(aChild.offsetWidth<factDivWidth) aChild.style.width=factDivWidth;
			}
		}

		


	}
}
var x,y;
window.document.body.onmousemove = function(e){
	e=e||event;
	x = e.clientX;
	y = e.clientY;
	if(lastestSubDiv){
		var _l = lastestSubDiv.offsetLeft;
		var _t = lastestSubDiv.offsetTop;
		var _w = lastestSubDiv.offsetWidth;
		var _h = lastestSubDiv.offsetHeight;
		if(x>_l+_w || x<_l){
			lastestSubDiv.style.display = 'none';
			lastestSubDiv = null;
		}
	}
}  

//过滤元素标题中的特殊字符
function checkTextValid(id)   
{   
	return true;
  	//注意：修改####处的字符，其它部分不许修改.   
    //if(/^[^####]*$/.test(form.elements[i].value))  
    
	if(/^[^\"+-\\|:;,='<>]*$/.test($("#"+id).val())){
		return true;
	}else{
		alert("不能包含以下字符:"+"\"+-\\|:;,='<>")
		$("#"+id).val($("#"+id).attr("defautvalue"));
		return false;
	} 
}  


function showUnreadNumber(accountId){
	var oSpan = document.getElementById("span"+accountId);
	var oIframe = document.getElementById("iframe"+accountId);
	var unreadMailNumber;
	if(oIframe.contentWindow.document.body.innerText){
		unreadMailNumber=jQuery.trim(oIframe.contentWindow.document.body.innerText);
	}else{
		unreadMailNumber=jQuery.trim(oIframe.contentWindow.document.body.lastChild.textContent);
	}
	oSpan.innerHTML = unreadMailNumber==-1 ? "<img src='/images/BacoError_wev8.gif' align='absmiddle' alt='错误！请检查您的邮件帐户设置。'>" : "(<b>"+unreadMailNumber+"</b>)";
}

function stockGopage(type,url){
	 if(type==0)
	 	openFullWindowForXtable(url);
	 else
		 this.location = url;
	}
	
//处理元素样式编辑时没有设置图标图片会出现残图现象
$(".iconEsymbol").bind('error',function(){
	if($(this).attr("src")==''){
		$(this).hide();
	}
})


$(".toolbar").find("img").bind('error',function(){
	if($(this).attr("src")==''){
		$(this).hide();
	}
})


  $(".downarrowclass").bind('error',function(){
				if($(this).attr("src")==''){
					$(this).hide();
				}
  })		  

  
  $(".rightarrowclass").bind('error',function(){
		if($(this).attr("src")==''){
			$(this).hide();
		}
  })
  
 function onCancel(){
	var dialog = parent.getDialog(window);   //弹出窗口的引用，用于关闭页面
	dialog.close();
}
//
--></script>


<script src="../js/Article_wev8.js"></script>
<script type="text/javascript" src="../js/jquery.scrollTo_wev8.js"></script>

<style type="text/css" rel="STYLESHEET">
.spCss{
	height: 100%;
	padding-top: 5px;
	background:url(/js/jquery/plugins/weavertabs2/lmz_wev8.gif) no-repeat;
	border: 1px;
	text-align: center;
	background-position: center;
	font-style:normal;
	font-size:12px;
	font-family:宋体;
	font-weight:normal;
	text-align:center;
	
	width:77px;
	cursor:pointer;
	vertical-align:middle;
	
	
}
.picturebackhp 
{
    width: 18px;
    height: 32px;
    float:left;
    background: transparent url(/page/element/Picture/resource/image/scroll_left_wev8.gif) no-repeat 0 0;
}
.picturenexthp 
{
    width: 18px;
    height: 32px;
    float:left;
    background: transparent url(/page/element/Picture/resource/image/scroll_right_wev8.gif) no-repeat 0 0;
}
</style>

<script type="text/javascript">
function chooseColor(obj){
	$(".chooseColor").hide();
	$(".chooseColor").attr("item","");
	var item = $(obj).attr("id");
	var top = $(obj).position().top;
	var left = $(obj).position().left+20;
	$(".chooseColor").attr("item",item);
	$(".chooseColor").css("top",top);
	$(".chooseColor").css("left",left);
	//$(".chooseColor").show();
	$(".chooseColor").fadeIn(600);
}

function colorCheck(obj,eid){
	var item = $(".chooseColor").attr("item");
	var color = $(obj).attr("color");
	$("#"+item+"color_"+eid).val(color);
	$("#"+item).css("background",color);
	$(".chooseColor").hide();
}
<!--
	
var setinnerHTML = function (el, htmlCode) {
    var ua = navigator.userAgent.toLowerCase();
    if (ua.indexOf('msie') >= 0 && ua.indexOf('opera') < 0) {
        htmlCode = '<div style="display:none">for IE</div>' + htmlCode;
        htmlCode = htmlCode.replace(/<script([^>]*)>/gi,
                                    '<script$1 defer=true>');
        el.innerHTML = htmlCode;
        el.removeChild(el.firstChild);
        //alert(el.innerHTML);
    } else {
        var el_next = el.nextSibling;
        var el_parent = el.parentNode;
        el_parent.removeChild(el);
        el.innerHTML = htmlCode;
        if (el_next) {
            el_parent.insertBefore(el, el_next)
        } else {
            el_parent.appendChild(el);
        }
    }
}
//-->
</script>

<script language="javascript"><!--
var isSetting=false;
var tempEid=0; //临时元素ID
var objAreaFlags = new Array();
var mode="run"; //确定页面模式  debug run
var initEnd=20; //从门户过来的数据，这个页面需要在前一段时间进行高度自适应

var needInitItemsNum=0;

function setElementLogo(eid,eLogo){
	$("#icon_"+eid).children('img').attr("src",eLogo);
}	

function setElementHeight(eid,height){
	
	if(height==0){
		$("#content_view_id_"+eid).css("height","auto");
	} else {
		$("#content_view_id_"+eid).css("height",height);
	}	
}


function setElementMarginTop(eid,marginTop){
	$("#item_"+eid).css("margin-top",marginTop);
}

function setElementMarginBottom(eid,marginBottom){
	$("#item_"+eid).css("margin-bottom",marginBottom);
}

function setElementMarginLeft(eid,marginLeft){
	$("#item_"+eid).css("margin-left",marginLeft);
}

function setElementMarginRight(eid,marginRight){
	$("#item_"+eid).css("margin-right",marginRight);
}



function onRefresh(eid,ebaseid){
	$("#item_"+eid).attr('needRefresh','true')
	$("#item_"+eid).trigger("reload");  
}
var myRefreshEid;
var myRefreshEbaseId;
function setWorkFlowRefresh(eid,ebaseid){
	myRefreshEid = eid;
	myRefreshEbaseId = ebaseid;
}
var initRefresh=0;

function doResize(){
	if(false)return;
	if(initRefresh<initEnd){		
		try{	
			elementsIsLoad();
			
			var oFrm=parent.document.getElementById("mainFrame");			
			//if(eid=="8166"||eid=="8153") {
				//log(oFrm.style.height+":"+document.body.scrollHeight)
				//alert(oFrm.style.height+":"+document.body.scrollHeight)
			///}
			if(oFrm.style.height==''){
				oFrm.style.height='0';
			}
			if(parseInt(oFrm.style.height)<parseInt(document.body.scrollHeight)) {
				oFrm.style.height=document.body.scrollHeight+"px";
			} else{
				oFrm.style.height=document.body.scrollHeight+"px";
			}
			
			//$("#content_view_id_"+eid).append(oFrm.style.height+":"+document.body.scrollHeight);			
		} catch(e){
			log(e) 
		}
		setTimeout(function(){doResize();},1000); 
		initRefresh++;
		log("initRefresh:"+initRefresh);
	} 	
}
var count=0;
var timeval=3000;

       
function replaceHtml(el, html) {   
    var oldEl = typeof el === "string" ? document.getElementById(el) : el;   
    /*@cc_on // Pure innerHTML is slightly faster in IE  
        oldEl.innerHTML = html;  
        return oldEl;  
    @*/  
    var newEl = oldEl.cloneNode(false);   
    newEl.innerHTML = html;   
    oldEl.parentNode.replaceChild(newEl, oldEl);   
    /* Since we just removed the old element from the DOM, return a reference  
    to the new element, which can be used to restore variable references. */  
    return newEl;   
}
var intNum=0;
$(document).ready(function () {
if(true){
	if(window.onbeforeunload){
		$(window).bind("beforeunload",function(){window.onbeforeunload=function(){try{window.parent.document.getElementById("mainFrame").style.height=document.body.scrollHeight+"px";}catch(e){}}});
	}else{
		window.onbeforeunload=function(){try{window.parent.document.getElementById("mainFrame").style.height=document.body.scrollHeight+"px";}catch(e){}}
	}
}
	if(mode=="debug") $('#txtDebug').css("display","");

	$(".item").bind("reload",function(){
		elementReload($(this).attr("ebaseid"),$(this).attr("eid"),$(this).attr("cornerTop"),$(this).attr("cornerBottom"),$(this).attr("cornerTopRadian"),$(this).attr("cornerBottomRadian"))
	});
	
	/*
	$.each($(".item"),function(i,n){
		if(intNum<2){			
			$this=$(this);
			window.setTimeout(function(){
				$this.trigger("reload");
			},0)
			intNum++;
		}
	})
	*/
	
	//$(".item").trigger("reload");

	var win_height = getClientHeight();
	var scroll_top = getScrollTop();
	var itemArray = $(".item");
	var itemArray_length=itemArray.length;
	var lastTop = 0;
	for(var i=0;i<itemArray_length;i++){
		var _item = itemArray[i];
		var jq_item = $("#"+_item.id);
		//if($("#"+_item.id).attr("needRefresh")=="false")continue;
		var el_top1 = getAbsoluteTop(_item);
		document.getElementById("content_view_id_"+$(_item).attr("eid")).innerHTML = "<img class='imgWait' src=/images/loading2_wev8.gif> 处理中...<br /><br /><br /><br /><br /><br /><br />";
		var el_top = getAbsoluteTop(_item);
		
		//document.getElementById("title_"+_item.eid).innerHTML = ("lastTop="+lastTop+";el_top="+el_top+";win_height+scroll_top="+(win_height+scroll_top));
		
		if(el_top+0 < win_height+scroll_top || lastTop > el_top){
			jq_item.attr("isBeforeInit","true");
			jq_item.trigger("reload");
		}else{
			jq_item.attr("isBeforeInit","false");
		}
		lastTop=el_top;
	}
	elementLoad_queue();
	
	// 永远验证刷新页面高度
	
	if(true) {
		
		doResize(); //从门户过的数据需要刷新页面高度
	}
	
});

function getScrollTop(){
    var scrollTop=0;
    var hpid = '8';
    var isSetting = 'false';
    if(hpid > 0 ){
	    if(document.documentElement&&document.documentElement.scrollTop){
	        scrollTop=document.documentElement.scrollTop;
	    }
	    else if(document.body){
	        scrollTop=document.body.scrollTop;
	    }
    }else if(hpid < 0){//协同处理
        if(isSetting == 'true'){
    	   scrollTop = document.getElementById("Element_ContainerDiv").scrollTop;
    	}else{
    	   scrollTop = document.getElementById("Element_Container").scrollTop;
    	}
    }
    return scrollTop;
}

function getClientHeight(){
	var yScroll;
    if (window.innerHeight && window.scrollMaxY) {
        yScroll = window.innerHeight + window.scrollMaxY;
    }
    else if (document.body.scrollHeight > document.body.offsetHeight) {
        yScroll = document.body.scrollHeight; // all but Explorer Mac 
    }
    else {
        yScroll = document.body.offsetHeight;  // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari   
    }
    var windowHeight;
    if (self.innerHeight) {
        windowHeight = self.innerHeight; // all except Explorer       
    }
    else if (document.documentElement && document.documentElement.clientHeight) {
        windowHeight = document.documentElement.clientHeight; // Explorer 6 Strict Mode         
    }
    else if (document.body) {
        windowHeight = document.body.clientHeight; // other Explorers           
    }
    if (yScroll < windowHeight) {
        pageHeight = windowHeight; // for small pages with total height less then height of the viewport       
    }
    else {
        pageHeight = yScroll;
    }
    return pageHeight;

}
function getAbsoluteTop(element) { 
	if (arguments.length != 1 || element == null) { 
		return null; 
	} 
	var offsetTop = element.offsetTop; 
	while (element = element.offsetParent) { 
		offsetTop += element.offsetTop; 
	} 
	return offsetTop; 
}

var _elementLoad_queue_flag = true;
var ctMax=0;
function elementLoad_queue(){
	if(_elementLoad_queue_flag){
		try{
			_elementLoad_queue_flag=false;
			var itemArray = $(".item[isInited!='true']");
			var flag = false;
			var itemArray_length=itemArray.length;
			for(var i=0;i<itemArray_length;i++){
				var _item = itemArray[i];
				var el_top = getAbsoluteTop(document.getElementById(_item.id));
				var win_height = $(window).height();
				var scroll_top = getScrollTop();
				ctMax++;
				if(el_top < win_height+scroll_top || false){
					flag = true;
					$("#"+_item.id).trigger("reload");
					break;
				}
			}
			if(!flag && itemArray_length > 0){
				setTimeout(elementLoad_queue, 200);
			}
		}catch(e){
		}
		_elementLoad_queue_flag=true;
	}
}



function elementReload(ebaseid,eid,top,bottom,topRadian,bottomRadian){	
	if(ebaseid===undefined)
		return;
	var _itemObj = $("#item_"+eid);
	//if($("#item_"+eid).attr("needRefresh")=="false")return;
	_itemObj.attr("isInited","true");
	_itemObj.attr("elementLoad_queue_timeout_flag","false");

	/*
	if($("#item_"+eid).attr('needRefresh')=='false'){
		//alert($("#item_"+eid).attr('needRefresh'))
		_itemObj.attr("isInited","true");
		setTimeout(elementLoad_queue, 200);
		return;
	}
	*/
	//防止重复加载圆角样式
	$("#header_"+eid).uncorner();
	if(top=="Round") {
		$("#header_"+eid).corner("Round top "+topRadian); 
	}
	$("#content_"+eid).uncorner();
	if(bottom=="Round") {
		$("#content_"+eid).corner("Round bottom "+bottomRadian); 
	}	
	
	var $this = $("#content_view_id_"+eid);
	$this.html("<img class='imgWait' src=/images/loading2_wev8.gif> 处理中...<br /><br /><br /><br /><br /><br /><br />");
	var url=$.trim($this.attr("url")).replace(/&amp;/g,"&");
	//
	
	if (url.indexOf("?") != -1) {
		url += "&";
	} else {
		url += "?";
	}
	
	url += "e7" + new Date().getTime() + "=";
	url += "&pagetype=";
	url += "&fieldids=";
	url += "&fieldvalues=" + encodeURIComponent("");
	if(ebaseid=='picture'||ebaseid=='1'||ebaseid=='menu'||ebaseid=='weather'||ebaseid=='7'||ebaseid=='8'||ebaseid=='19'){
		if(_itemObj.attr("isBeforeInit")!="true"){
	
			//document.getElementById("title_"+eid).innerHTML += "id="+_itemObj.attr("id");
	
	  	   var _timeOut = 1000;
	  	   if(ebaseid=="weather" || ebaseid=="29"){_timeOut=0;}
	  	   window.setTimeout(function(){
	   	   if(_itemObj.attr("elementLoad_queue_timeout_flag")=="false"){
	   	        _itemObj.attr("elementLoad_queue_timeout_flag","true");
				_itemObj.attr("isInited","true");
				setTimeout(elementLoad_queue, 200);
				//if(ebaseid=="weather" || ebaseid=="29"){window.top.document.title = ebaseid;}
	   	   }	
	  	   },_timeOut);
  	   }else{
  	   		//alert(1);
  	   }
  	   
		//$this.html("<img class='imgWait' src=/images/loading2_wev8.gif> "+wmsg.hp.excuting+"...")
		$this.load(url,function(){
			if(_itemObj.attr("isBeforeInit")!="true"){
				window.setTimeout(function(){
					if(_itemObj.attr("elementLoad_queue_timeout_flag")=="false"){
						_itemObj.attr("elementLoad_queue_timeout_flag","true");
						_itemObj.attr("isInited","true");
						if(_itemObj.attr("isBeforeInit")!="true"){
							setTimeout(elementLoad_queue, 200);
						}
					}
					//var _ifrm = document.getElementById("ifrm_"+eid);
					//if(_ifrm){onLoadComplete(_ifrm);}
				},0);
	  	   }else{
	  	   		//alert(1);
	  	   }
		});
		return;
	}
	
	if(true){
		log(url);
		
		if(_itemObj.attr("isBeforeInit")!="true"){
		
			//document.getElementById("title_"+eid).innerHTML += "id="+_itemObj.attr("id");
		
	  	   var _timeOut = 1000;
	  	   if(ebaseid=="weather" || ebaseid=="29"){_timeOut=0;}
	  	   window.setTimeout(function(){
	   	   if(_itemObj.attr("elementLoad_queue_timeout_flag")=="false"){
	   	        _itemObj.attr("elementLoad_queue_timeout_flag","true");
				_itemObj.attr("isInited","true");
				setTimeout(elementLoad_queue, 200);
				//if(ebaseid=="weather" || ebaseid=="29"){window.top.document.title = ebaseid;}
	   	   }	
	  	   },_timeOut);
  	   }else{
  	   		//alert(1);
  	   }

/*
		$.get(url, function(data){
			if(_itemObj.attr("elementLoad_queue_timeout_flag")=="false"){
				_itemObj.attr("elementLoad_queue_timeout_flag","true");
				_itemObj.attr("isInited","true");
				if(_itemObj.attr("isBeforeInit")!="true"){
					setTimeout(elementLoad_queue, 200);
				}
			}
			//document.getElementById("content_view_id_"+eid).innerHTML=data;
			//setinnerHTML(document.getElementById("content_view_id_"+eid),data);
			$("#content_view_id_"+eid).html(data);
			
			var _ifrm = document.getElementById("ifrm_"+eid);
			if(_ifrm){onLoadComplete(_ifrm);}
		});
*/

		$.ajax({
		   type: "POST",
		   cache: false,
		   url: url,
		   success: function(data){
				if(_itemObj.attr("elementLoad_queue_timeout_flag")=="false"){
					_itemObj.attr("elementLoad_queue_timeout_flag","true");
					_itemObj.attr("isInited","true");
					if(_itemObj.attr("isBeforeInit")!="true"){
						setTimeout(elementLoad_queue, 200);
					}
				}
				$("#content_view_id_"+eid).html( data);
				var _ifrm = document.getElementById("ifrm_"+eid);
				if(_ifrm){onLoadComplete(_ifrm);}
		   }
		}); 

		return;
	}
	
	if(url.substring(0,1)!="?")  {
		//$this.html("<img class='imgWait' src=/images/loading2_wev8.gif> "+wmsg.hp.excuting+"...")
		log(url)

		if(_itemObj.attr("isBeforeInit")!="true"){
			//alert(_itemObj.attr("id"));
			
	  	   var _timeOut = 1000;
	  	   if(ebaseid=="weather" || ebaseid=="29"){_timeOut=0;}
	  	   window.setTimeout(function(){
	   	   if(_itemObj.attr("elementLoad_queue_timeout_flag")=="false"){
	   	        _itemObj.attr("elementLoad_queue_timeout_flag","true");
				_itemObj.attr("isInited","true");
				setTimeout(elementLoad_queue, 200);
				//if(ebaseid=="weather" || ebaseid=="29"){window.top.document.title = ebaseid;}
	   	   }	
	  	   },_timeOut);
  	   }else{
  	   		//alert(1);
  	   }
			
		var xmlHttp = XmlHttp.create();	
		xmlHttp.open("POST", url, true);
			
		xmlHttp.onreadystatechange = function () {	
			switch (xmlHttp.readyState) {
			   case 0 :  //uninitialized
					break ;
			   case 1 :   //loading							
					break ;
			   case 2 :   //loaded
				   break ;
			   case 3 :   //interactive				  
				   break ;
			   case 4 :  //complete
				   if (xmlHttp.status==200)  {
					   var str=$.trim(xmlHttp.responseText);
						window.setTimeout(function(){
							if(_itemObj.attr("elementLoad_queue_timeout_flag")=="false"){
								_itemObj.attr("elementLoad_queue_timeout_flag","true");
								_itemObj.attr("isInited","true");
								if(_itemObj.attr("isBeforeInit")!="true"){
									setTimeout(elementLoad_queue, 200);
								}
							}
							//document.getElementById("content_view_id_"+eid).innerHTML=str;
							setinnerHTML(document.getElementById("content_view_id_"+eid),str);
							var _ifrm = document.getElementById("ifrm_"+eid);
							if(_ifrm){onLoadComplete(_ifrm);}
						},0);
						
						/*var re2 = /(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)/gi;
						//var arr;
						//var isExec=false;
						
						//while ((arr = re2.exec(str)) != null)	{						
						//	window.setTimeout($this.append(arr[0]),count*timeval+500);
						//	isExec=true;
						}*/
				   } else {				
					   //alert(xmlHttp.responseText);
				   }
			  	   break ;			 
			} 
		}		
		xmlHttp.setRequestHeader("Content-Type","text/xml");	
		xmlHttp.send(null);	

	} 
	
}


function log(s){		 
	if(mode=="debug") {
		$('#txtDebug').val($('#txtDebug').val()+s+"\n");
		var oTxtDebug=$('#txtDebug').get(0);
		oTxtDebug.scrollTop+=oTxtDebug.offsetHeight;
	}
	
}


function  GetContent(divObj,url,isAddElement,code,isNeedRefresh){
	divObj.innerHTML="<img src=/images/loading2_wev8.gif> 处理中...";
	//return;
	var xmlHttp = XmlHttp.create();
	xmlHttp.open("GET",url, true);
	xmlHttp.onreadystatechange = function () {
		switch (xmlHttp.readyState) {
           case 3 :
			    divObj.innerHTML="<img src=/images/loading2_wev8.gif> 传输中...";
		        break;
		   case 4 :
		       if(isAddElement){
			       	$(".group[areaflag='A']").prepend(jQuery.trim(xmlHttp.responseText));
			       	try{
			       		$(".group[areaflag='A']").children("div:first").bind("reload",function(){
			       			elementReload($(this).attr("ebaseid"),$(this).attr("eid"),$(this).attr("cornerTop"),$(this).attr("cornerBottom"));
			       		});
			       		
			       		$(".group[areaflag='A']").children("div:first").trigger("reload");	
			       		
					    //var eid=$(".group[areaflag='A']").children("div:first").attr("eid");					    
				       	//var jsCode = $("#content_js_"+eid).html();
						//eval(jsCode)			       
			       	}catch(e){
			       		//alert(e.name)
			       	} 
			   } else {
				   divObj.innerHTML =xmlHttp.responseText;
			   }
			   if(isNeedRefresh!=undefined){
				   window.location.reload();
			   }
		       if(xmlHttp.status < 400)   if(code!=null&&code!="") eval(code);
               break;
		}
	}
	xmlHttp.setRequestHeader("Content-Type","text/xml")
	xmlHttp.send(null);
}

function  GetContentForSynize(divObj,url,isAddElement,code,isNeedRefresh){
	$(divObj).hide();
	//divObj.innerHTML="<img src=/images/loading2_wev8.gif> "+wmsg.hp.excuting+"...";
	showDoDialog("<img src=/images/loading2_wev8.gif> 处理中...");
	//return;
	var xmlHttp = XmlHttp.create();
	xmlHttp.open("GET",url, true);
	xmlHttp.onreadystatechange = function () {
		switch (xmlHttp.readyState) {
           case 3 :
			    //divObj.innerHTML="<img src=/images/loading2_wev8.gif> "+wmsg.hp.transporting+"...";
			    closeDoDialog();
			 //   top.Dialog.alert("<font  color=#000> 处理成功! </font>");
		        break;
		   case 4 :
		       if(isAddElement){
			       	$(".group[areaflag='A']").prepend(xmlHttp.responseText);
			       	try{
			       		$(".group[areaflag='A']").children("div:first").bind("reload",function(){
			       			elementReload($(this).attr("ebaseid"),$(this).attr("eid"),$(this).attr("cornerTop"),$(this).attr("cornerBottom"));
			       		});
			       		
			       		$(".group[areaflag='A']").children("div:first").trigger("reload");	
			       		
					    //var eid=$(".group[areaflag='A']").children("div:first").attr("eid");					    
				       	//var jsCode = $("#content_js_"+eid).html();
						//eval(jsCode)			       
			       	}catch(e){
			       		//alert(e.name)
			       	} 
			   } else {
				   //divObj.innerHTML =xmlHttp.responseText;
				    top.Dialog.alert("<font  color=#000> 处理成功!</font>");
					closeDoDialog();
			       
			   }
			   if(isNeedRefresh!=undefined){
				   window.location.reload();
			   }
		       if(xmlHttp.status < 400)   if(code!=null&&code!="") eval(code);
               break;
		}
	}
	xmlHttp.setRequestHeader("Content-Type","text/xml")
	xmlHttp.send(null);
}

var Show_dialog;
function showDoDialog(content){
		Show_dialog = new window.top.Dialog();
		Show_dialog.currentWindow = window;  
	 	Show_dialog.Width = 240;
	 	Show_dialog.Height = 120;
	 	Show_dialog.Modal = true;
	 	Show_dialog.Title = "系统提示";
	 	Show_dialog.InnerHtml="<div style='text-align:center;color:#000;font-size:14px;height: 120px;line-height: 120px;'>"+content+"</div>";
	 	Show_dialog.show();
}


function closeDoDialog(){
		Show_dialog.close();
}

//添加新节点
function  GetContentForDragAdd(divObj,url,isAddElement,code,isNeedRefresh){
	//alert(url);
	divObj.innerHTML="<img src=/images/loading2_wev8.gif> 处理中...";
	//return;
	var xmlHttp = XmlHttp.create();
	xmlHttp.open("GET",url, true);
	xmlHttp.onreadystatechange = function () {
		switch (xmlHttp.readyState) {
           case 3 :
			    divObj.innerHTML="<img src=/images/loading2_wev8.gif> 传输中...";
		        break;
		   case 4 :
		       if(isAddElement){
                    var itemholder=$(".itemholder");

			        var itemnew=$(xmlHttp.responseText);
					//添加新节点
					itemnew.insertBefore(itemholder);

					itemholder.hide();

					try{
			       		itemnew.bind("reload",function(){
			       			elementReload($(this).attr("ebaseid"),$(this).attr("eid"),$(this).attr("cornerTop"),$(this).attr("cornerBottom"));
			       		});
			       		
						itemnew.trigger("reload");    
			       	}catch(e){
			       		//alert(e.name)
			       	} 
			   } else {
				   divObj.innerHTML =xmlHttp.responseText;
			   }
			   if(xmlHttp.status < 400)   if(code!=null&&code!="") eval(code);
               break;
		}
	}
	xmlHttp.setRequestHeader("Content-Type","text/xml")
	xmlHttp.send(null);
}

	
	function onShowOrHideE(eid){	
		$("#content_"+eid).toggle();
	}
	
		
	function onChanageAllStatus(obj){			
		
		var rightspanmenu=$("#rightMenuIframe").contents().find("#spanStatus");

		var showSpan=jQuery(obj);
		
		var status=showSpan.attr("stas");
	
		if(status=="show" || typeof(status) == "undefined")	{
			$(".content").hide();
			showSpan.attr("stas","hidden");
			$(window.parent.document).find("#btnStatus").attr("value",'全部展开');
			if(showSpan.attr("id")  == "spanStatus") try{showSpan.html('全部展开');}catch(e){}	
			if(rightspanmenu.length>0){
			   rightspanmenu.html('全部展开');
			}
		} else {
			$(".content").show() ;			
			$(showSpan).attr("stas","show");
			$(window.parent.document).find("#btnStatus").attr("value",'全部收缩');
			if(showSpan.attr("id")  == "spanStatus") try{showSpan.html('全部收缩');}catch(e){}
			if(rightspanmenu.length>0){
			   rightspanmenu.html('全部收缩');
			}
		}	
	}
	
	
	function onChanageSynersyStatus(hpid){			
		var synersy=$("#synersyStatus");
		var status=synersy.attr("stas");
		if(status=="1" || typeof(status) == "undefined")	{//已启用
			synersy.attr("stas","0");
		} else {// 不启用
			synersy.attr("stas","1");
		}	
		
		$.ajax({
		   type: "POST",
		   cache: false,
		   url: "/homepage/element/EsettingOperate.jsp?method=synernyisusechange&hpid="+hpid+"&isuse="+synersy.attr("stas"),
		   success: function(data){
				if(data.trim() == '1'){
				   if(status=="1" || typeof(status) == "undefined")	{//已启用
						$(window.parent.document).find("#synersyStatus").attr("value","启用");
					} else {// 不启用
						$(window.parent.document).find("#synersyStatus").attr("value","不启用");
					}	
				   top.Dialog.alert("处理成功!!");
				}else{
				   top.Dialog.alert("处理异常!");
				}
		   }
		}); 
	}
	
	
	
	function chkReplyClick(obj,eid,name){
		onNewContentCheck(document.getElementById(name+"_"+eid),eid,name)
	}


	function onNewContentCheck(obj,eid,name){	
		obj.checked=true;			
		var isHaveReply="0";
		try{
			if(document.getElementById("chk"+name+"_"+eid).checked) isHaveReply="1";
		} catch(e){
		}
		
		document.getElementById("_whereKey_"+eid).value=$(obj).attr("selecttype")+"|"+obj.value+"|"+isHaveReply;		
		
	}

	function onShowCatalog(input,span,eid) {
		var result = showModalDialog("/systeminfo/BrowserMain.jsp?url=/docs/category/MultiCategorySingleBrowser.jsp");
		if (result != null) {
		    if (result[0] > 0)  {
				input.value=result[1]
				span.innerHTML=result[5];
			}else{
				input.value="0";
				span.innerHTML="";
			}
		}
		onNewContentCheck(input,eid,'cate')
	}

	function onWFEClick(obj){
		if(!obj.checked){ //如果取消选择,则后面所有的选择都取消
			//得到后面所有的节点checkbox 设为非选
			var objNextTd=obj.parentNode.nextSibling;
			var objNodes=objNextTd.getElementsByTagName("input");
			for(var i=0;i<objNodes.length;i++){
				var objNode=objNodes[i];
				objNode.checked=false;
				//alert(objNode.value);
			}
		}
	}	
	function onWFENodeClick(obj){
		if(obj.checked){ //如果选择,流程就选择
			var objPreTd=obj.parentNode.previousSibling;
			var objNodes=objPreTd.getElementsByTagName("input");
			for(var i=0;i<objNodes.length;i++){
				var objNode=objNodes[i];
				objNode.checked=true;
				//alert(objNode.value);
			}
		}
	}
	
	function onViewTypeChange(obj,eid){		
		document.getElementById("ifrmViewType_"+eid).src="/homepage/element/setting/WorkflowCenterBrowser.jsp?viewType="+obj.value+"&eid="+eid;
		//alert(obj.value)
	}

	function elmentReLoad(ebaseid){

		/*var tables=document.getElementsByTagName("div");		
		for(var i=0;i<tables.length;i++){
			var tbl=tables[i];
			if(tbl.ebaseid==ebaseid) {
				var tblEid=tbl.eid;
				try{
					eval("objE"+tblEid).contentLoad();
				} catch(e){}
			}
		}*/
		
		$(".item[ebaseid="+ebaseid+"]").attr('needRefresh','true')
		$(".item[ebaseid="+ebaseid+"]").trigger("reload");
	}
	
	function onWorktaskSetting(obj){
		var objParent=obj.parentNode;
		var children=objParent.getElementsByTagName("INPUT");
		var value="";
		for(var i=0;i<children.length;i++){
			var child=children[i];			
			if(child.type=="checkbox" && child.checked){
				value+=child.value+"|";
			}						
		}
		if(value!="") value=value.substring(0,value.length-1);
		//objParent.firstChild.value=value;	
	    jQuery(objParent).find("input[type='hidden']:first").val(value);
	}
function openFullWindowForXtable(url){
	//添加协同参数传递
	var reqid='';
	var hpid='8';
	var pagetype='';
	var fieldids='';
	var fieldvalues='';
	if(url.indexOf("/")==0){
		if (url.indexOf("?") != -1) {
			url += "&";
		} else {
			url += "?";
		}
		url += "e7" + new Date().getTime() + "=";	
		if(reqid!=='')
			url+="&requestid="+reqid;
		if(hpid!=='')
            url+="&hpid="+hpid;
		if(pagetype!=='')
            url+="&pagetype="+pagetype;
		if(fieldids!=='')
            url+="&fieldids="+fieldids;
		if(fieldvalues!=='')
            url+="&fieldvalues="+fieldvalues;
	}
	var redirectUrl = url ;
	var width = screen.availWidth ;
	var height = screen.availHeight ;
	var szFeatures = "top=0," ; 
	szFeatures +="left=0," ;
	if(url.indexOf("ebaseid=15")!=-1){
		//td61285
		//szFeatures +="width=800," ;
		szFeatures +="width="+(width-10)+"," ;
	}else{
		szFeatures +="width="+(width-10)+"," ;
	}
	szFeatures +="height="+(jQuery.browser.msie?height:(height-60))+"," ; 
	szFeatures +="directories=no," ;
	szFeatures +="status=yes," ;
	szFeatures +="menubar=no," ;
	szFeatures +="scrollbars=yes," ;
	szFeatures +="resizable=yes" ;
	window.open(redirectUrl,"",szFeatures) ;
}


function openFullWindowForDoc(url,docid){
    try{
		$("#doclist_"+docid+"img").hide();
		$("#doclist_"+docid+"img").parent('.docdetail').find('.docnamedetail').removeAttr("style");
		$("#doclist_"+docid+"img").parent('.docdetail').find('.docnamedetail').css("color","#242424");
	}catch(e){}
    
	if(url.indexOf("/")==0){
		if (url.indexOf("?") != -1) {
			url += "&";
		} else {
			url += "?";
		}
		url += "e7" + new Date().getTime() + "=";	
	}
	var redirectUrl = url ;
	var width = screen.availWidth ;
	var height = screen.availHeight ;
	var szFeatures = "top=0," ; 
	szFeatures +="left=0," ;
	szFeatures +="width="+(width-10)+"," ;
	szFeatures +="height="+(jQuery.browser.msie?height:(height-60))+"," ; 
	szFeatures +="directories=no," ;
	szFeatures +="status=yes," ;
	szFeatures +="menubar=no," ;
	szFeatures +="scrollbars=yes," ;
	szFeatures +="resizable=yes" ;
	window.open(redirectUrl,"",szFeatures) ;
}

function openFullWindowHaveBarForWFList(url,requestid){
	try{
		document.getElementById("wflist_"+requestid+"span").innerHTML = "";
	}catch(e){}
	if (url.indexOf("?") != -1) {
		url += "&";
	} else {
		url += "?";
	}
	
	url += "e7" + new Date().getTime() + "=";
	var redirectUrl = url ;
	var width = screen.availWidth-10 ;
	var height = screen.availHeight-50 ;
	//if (height == 768 ) height -= 75 ;
	//if (height == 600 ) height -= 60 ;
	var szFeatures = "top=0," ;
	szFeatures +="left=0," ;
	szFeatures +="width="+width+"," ;
	szFeatures +="height="+height+"," ;
	szFeatures +="directories=no," ;
	szFeatures +="status=yes,toolbar=no,location=no," ;
	szFeatures +="menubar=no," ;
	szFeatures +="scrollbars=yes," ;
	szFeatures +="resizable=yes" ; //channelmode
	window.open(redirectUrl,"",szFeatures) ;
}
	
	
function openFullWindowHaveBar(url){    
	if (url.indexOf("?") != -1) {
		url += "&";
	} else {
		url += "?";
	}
	
	url += "e7" + new Date().getTime() + "=";
	var redirectUrl = url ;
	var width = screen.availWidth-10 ;
	var height = screen.availHeight-50 ;
	//if (height == 768 ) height -= 75 ;
	//if (height == 600 ) height -= 60 ;
	 var szFeatures = "top=0," ;
	szFeatures +="left=0," ;
	szFeatures +="width="+width+"," ;
	szFeatures +="height="+height+"," ;
	szFeatures +="directories=no," ;
	szFeatures +="status=yes,toolbar=no,location=no," ;
	szFeatures +="menubar=no," ;
	szFeatures +="scrollbars=yes," ;
	szFeatures +="resizable=yes" ; //channelmode
	window.open(redirectUrl,"",szFeatures) ;
}


function openFullWindowHaveBarForWF(url,requestid){
    
    try{
		$("#wflist_"+requestid+"img").hide();
		$("#wflist_"+requestid+"img").parent('.reqdetail').find('.reqname').removeAttr("style");
	}catch(e){}
     
	if (url.indexOf("?") != -1) {
		url += "&";
	} else {
		url += "?";
	}
	
	url += "e7" + new Date().getTime() + "=";
	var redirectUrl = url ;
	var width = screen.availWidth-10 ;
	var height = screen.availHeight-50 ;
	//if (height == 768 ) height -= 75 ;
	//if (height == 600 ) height -= 60 ;
	 var szFeatures = "top=0," ;
	szFeatures +="left=0," ;
	szFeatures +="width="+width+"," ;
	szFeatures +="height="+height+"," ;
	szFeatures +="directories=no," ;
	szFeatures +="status=yes,toolbar=no,location=no," ;
	szFeatures +="menubar=no," ;
	szFeatures +="scrollbars=yes," ;
	szFeatures +="resizable=yes" ; //channelmode
	window.open(redirectUrl,"",szFeatures) ;
}

function  readCookie(name){  
   var  cookieValue  =  "7";  
   var  search  =  name  +  "=";
   try{
	   if(document.cookie.length  >  0) {    
	       offset  =  document.cookie.indexOf(search);  
	       if  (offset  !=  -1)  
	       {    
	           offset  +=  search.length;  
	           end  =  document.cookie.indexOf(";",  offset);  
	           if  (end  ==  -1)  end  =  document.cookie.length;  
	           cookieValue  =  unescape(document.cookie.substring(offset,  end))  
	       }  
	   }  
   }catch(exception){
   }
   return  cookieValue;  
} 


function loadRssElementContent(eid,rssUrl,imgSymbol,hasTitle,hasDate,hasTime,titleWidth,dateWidth,timeWidth,rssTitleLength,linkmode,size,perpage,languageid){
 	var returnStr="";
 		
	var objDiv = document.getElementById("rssContent_"+eid);
	try{
		var rssRequest = XmlHttp.create();
		rssRequest.open("GET",rssUrl, true);	
		rssRequest.onreadystatechange = function () {
			switch (rssRequest.readyState) {
			   case 3 : 					
					break;
			   case 4 : 
				   if (rssRequest.status==200)  {

                     returnStr+="<TABLE id=\"_contenttable_"+eid+"\" style=\"width:100%\" class=\"Econtent\">"+
						  " <TR>"+
						  " <TD width=\"1px\"></TD>"+
						  " <TD width=\"*\" valign=\"center\">"+
						  "	    <TABLE  width=\"100%\">";
				   
						var items=rssRequest.responseXML;
						var titles=new Array(),pubDates=new Array(); dates=new Array(), times=new Array(), linkUrls=new Array(), descriptions=new Array()	
							
						var items_count=items.getElementsByTagName('item').length;

						if(items_count>perpage) items_count=perpage;
				
						for(var i=0; i<items_count; i++) {
							titles[i]="";
							pubDates[i]="";
							linkUrls[i]="";
							descriptions[i]="";
							dates[i]="";
							times[i]="";

							if(items.getElementsByTagName('item')[i].getElementsByTagName('title').length==1)
								titles[i]=items.getElementsByTagName('item')[i].getElementsByTagName('title')[0].firstChild.nodeValue;


							if(items.getElementsByTagName('item')[i].getElementsByTagName('pubDate').length==1)
								pubDates[i]=items.getElementsByTagName('item')[i].getElementsByTagName('pubDate')[0].firstChild.nodeValue;

							if(items.getElementsByTagName('item')[i].getElementsByTagName('link').length==1)
								linkUrls[i]=items.getElementsByTagName('item')[i].getElementsByTagName('link')[0].firstChild.nodeValue;

							
							returnStr+="<TR height=18px>"+
									   "  <TD width=\"8\">"+imgSymbol+"</TD>";

							
							if(hasTitle=="true"){
								 returnStr+="<TD width="+titleWidth+">";
								 var tempTitle = "";
								 if(titles[i].length>rssTitleLength){
								 	tempTitle = titles[i].substring(0,rssTitleLength)+"...";
								 }else{
								 	tempTitle = titles[i];
								 }
								
								 if(linkmode=="1"){
									returnStr+="<a href=\""+linkUrls[i]+"\" target=\"_self\" title=\""+titles[i]+"\"><FONT class=\" font\" >"+tempTitle+"</FONT></a>";
								 } else {
									returnStr+="<a href=\"javascript:openFullWindowForXtable('"+linkUrls[i]+"')\" title=\""+titles[i]+"\"><FONT class=\" font\"  >"+tempTitle+"</FONT></a>";
								 } 
								 returnStr+="</TD>";
							} 
							
							if(pubDates[i]!=""){
								var d = new Date(pubDates[i]);
							
								if(d!='NaN'){
									dates[i]=d.getFullYear()+"-"+(d.getMonth() + 1) + "-"+d.getDate() ;
	
									if(d.getHours()<=9)	times[i]+="0"+d.getHours() + ":";
									else times[i]+= d.getHours() + ":";
	
									if(d.getMinutes()<=9)	times[i]+="0"+d.getMinutes() + ":";
									else times[i]+= d.getMinutes() + ":";
	
									if(d.getSeconds()<=9)	times[i]+="0"+d.getSeconds();
									else times[i]+= d.getSeconds() ;
								}else{
									dates[i]="";
									times[i]="";
								}
							} else {
								dates[i]="";
								times[i]="";
							}
							if(hasDate=="true"){
								returnStr+="<TD width="+dateWidth+">"+"<font class=font>"+dates[i]+"</font>"+"</TD>";
							}
							if(hasTime=="true"){
								returnStr+="<TD width="+timeWidth+">"+"<font class=font>"+times[i]+"</font>"+"</TD>";
							}
							returnStr+="</TR>";

							if(i<items_count-1){
								returnStr+="<TR class=\"sparator\" style='height:1px'><TD style='padding:0px' colspan="+(size+1)+"></TD></TR>";	
							}
					
						}
					

						returnStr+="		</TABLE>"+
								  "	</TD>"+
								  " <TD width=\"1px\"></TD>"+
								  " </TR>"+
								  "</TABLE>";
						
						objDiv.innerHTML=returnStr;
				   } else {
					   objDiv.innerHTML=rssRequest.responseText;
				   }
				   break;
			} 
		}	
		rssRequest.setRequestHeader("Content-Type","text/xml")	
		rssRequest.send(null);	
	} catch(e){      
        if(e.number==-2147024891){
            if(languageid==8)
                objDiv.innerHTML="RSS use client read，It need let this site's url into you IE trust list.！&nbsp;<a href='/homepage/HowToAdd.jsp' target='_blank'>(How?)</a>";
            else
                objDiv.innerHTML="RSS采用的是客户端读取，需把本站点添加到受信任站点！&nbsp;<a href='/homepage/HowToAdd.jsp' target='_blank'>(怎样添加?)</a>";
        }   else {
            objDiv.innerHTML=e.number+":"+e.description;
        }
    }
	
}

function onChangeImgType(eid,value){
	if(event.srcElement.value==0){
		$("#imgsrcDiv_"+eid).hide()
	}else{
		$("#imgsrcDiv_"+eid).show()
		if(document.getElementById("_imgsrc"+eid).className=='filetree'){
			$("#_imgsrc"+eid).filetree();
		}
	}
}

function onLoadComplete(ifm){
	try{
		if(ifm.readyState=="complete"){   
			if(ifm.contentWindow.document.body.scrollHeight>ifm.height){
				ifm.style.height = ifm.height;
			}else{
				ifm.style.height = ifm.contentWindow.document.body.scrollHeight;
			}
		}
	}catch(e){
		//alert(e.message);
	}
	//$("#item_"+eid).attr("isInited","true");
	//alert(ifm.outerHTML);
	//setTimeout(elementLoad_queue, 200);
	//elementLoad_queue();
}
function onShowMultiCatalog(input,span,eid){	
       splitflag = ",,,"
	   var dlg=new window.top.Dialog();//定义Dialog对象
	   dlg.Model=true;
	   dlg.Width=550;//定义长度
	   dlg.Height=550;
	   dlg.URL="/systeminfo/BrowserMain.jsp?url=/docs/category/MultiCategoryMBrowser.jsp?para="+input.value+"&splitflag="+splitflag;
	   dlg.Title="文档目录";
	   dlg.callbackfun=function(params,datas){

			if (datas) {
			    if (datas.id!= "") {
			        ids = datas.id.split(",");
				    names =datas.name.split(",");
				    sHtml = "";
				    for( var i=0;i<ids.length;i++){
					    if(ids[i]!=""){
					    	sHtml = sHtml+"<a href='/docs/search/DocSearchView.jsp?showtype=0&displayUsage=0&fromadvancedmenu=0&infoId=0&showDocs=0&showTitle=1&maincategory=&subcategory=&seccategory="+ids[i]+"' target='_blank'>"+names[i]+"</a>&nbsp";
					    }
				    }
				    $(span).html(sHtml);
				    $(input).val(datas.id);
			    }
			    else	{
		    	     $(span).html("<IMG src='/images/BacoError_wev8.gif' align=absMiddle>");
				     $(input).val("");
			    }
			    onNewContentCheck(input,eid,"cate");
			}
	   }
	   dlg.show();


			
			
}


function onShowMultiCatalog2(input,span,eid){	
       splitflag = ",,,"
	   var dlg=new window.top.Dialog();//定义Dialog对象
	   dlg.Model=true;
	   dlg.Width=550;//定义长度
	   dlg.Height=550;
	   dlg.URL="/systeminfo/BrowserMain.jsp?url=/docs/category/MultiCategoryMBrowser.jsp?para="+input.value+"&splitflag="+splitflag;
	   dlg.Title="文档目录";
	   dlg.callback=function(datas){
			if (datas) {
			    if (datas.id!= "") {
			        tempids = ","+datas.id;
			        temppaths = "," + datas.path;
			        var ids = tempids.split(",");
				    var paths =temppaths.split(",");
				    sHtml = "";
				   
				    for( var i=0;i<ids.length;i++){
					    if(ids[i]!=""){
					    	sHtml = sHtml+"<a href='/docs/search/DocSearchView.jsp?showtype=0&displayUsage=0&fromadvancedmenu=0&infoId=0&showDocs=0&showTitle=1&maincategory=&subcategory=&seccategory="+ids[i]+"' target='_blank'>"+paths[i]+"</a>&nbsp";
					    }
				    }
				    $(span).html(sHtml);
				    $(input).val(datas.id);
			    }
			    else{
		    	     //$(span).html("<IMG src='/images/BacoError_wev8.gif' align=absMiddle>");
				     //$(input).val("");
			    }
			    onNewContentCheck(input,eid,"cate");
			}
	   }
	   dlg.show();


			
			
}

function onShowDoc(input,span,eid){

	       var dlg=new window.top.Dialog();//定义Dialog对象
           dlg.Model=true;
           dlg.Width=550;//定义长度
           dlg.Height=550;
           dlg.URL="/docs/DocBrowserMain.jsp?url=/docs/docs/DocBrowser.jsp?from=hpelement";
           dlg.Title="内容来源";
		   dlg.callbackfun=function(params,datas){
			    if(datas){
					if(datas.id!=""){
						$(input).val(datas.id);
						$(span).html( "<a href='/docs/docs/DocDsp.jsp?id="+datas.id+"'  target='_blank'>"+datas.name+"</a>");
					}
					else{
						$(input).val("");
						$(span).html("");
					}
			     }
	       }
           dlg.show();
	
	
			
}
function onShowMutiDummy(input,span,eid)	{
	splitflag = ",,,";
   var dlg=new window.top.Dialog();//定义Dialog对象
   dlg.Model=true;
   dlg.Width=550;//定义长度
   dlg.Height=550;
   dlg.URL="/systeminfo/BrowserMain.jsp?url=/docs/category/DocTreeDocFieldBrowserMulti.jsp?para="+input.value+"&splitflag="+splitflag;
   dlg.Title="未读文档";
   dlg.callbackfun=function(params,datas){
		if (datas) {
			if (datas.id!= ""){
				dummyidArray=datas.id.split(",");
				dummynames=datas.name.split(",");
				dummyLen=dummyidArray.length;
				sHtml="";
				for(var k=0;k<dummyLen;k++){
					sHtml = sHtml+"<a href='/docs/docdummy/DocDummyList.jsp?dummyId="+dummyidArray[k]+"'>"+dummynames[k]+"</a>&nbsp;";
				}
				input.value=datas.id;
				span.innerHTML=sHtml;
			}
			else{			
				input.value="";
				span.innerHTML="";
			}
			onNewContentCheck(input,eid,"");
	   }
   }
   dlg.show();	
}

function onSelectBgImg(input, span, eid) {
    imgfileid = document.getElementById("_eBackground_" + eid).value;

    data = window.showModalDialog("/systeminfo/BrowserMain.jsp?url=/homepage/element/setting/img.jsp?para=" + eid + "_" + imgfileid);
    if (data) {
        //alert(id(0));
        //alert(id(1));
        if (data.id != "") {
            input.value = data.id;
            span.innerHTML = data.name;
        } else {
            span.innerHTML = "";
            input.value = "";
        }
    }
}

function onShowNew(input, span, eid) {
    data = window.showModalDialog("/systeminfo/BrowserMain.jsp?url=/docs/news/NewsBrowser.jsp");
    if (data) {
        if (data.id != "") {
            span.innerHTML = "<a href='/docs/news/NewsDsp.jsp?id=" + data.id + "' target='_blank'>" + data.name + "</a>";
            input.value = data.id;

        } else {;
            span.innerHTML = "";
            input.value = "0";
        }
        onNewContentCheck(input, eid, "news");
    }
}

function onShowSearchTemplet(input, span, eid) {
    data = window.showModalDialog("/systeminfo/BrowserMain.jsp?url=/docs/DocSearchTempletBrowser.jsp");
    if (data) {
        if (data.id != "") {
            span.innerHTML = data.name;
            input.value = data.id;
            onNewContentCheck(input, eid, "");
        } else {;
            span.innerHTML = "";
            input.value = "";
        }
    }
}

function onShowMenus(input, span, eid) {
    //console.dir(arguments);
	var dlg=new window.top.Dialog();//定义Dialog对象
	dlg.Model=true;
	dlg.Width=550;//定义长度
	dlg.Height=560;
	dlg.URL="/systeminfo/BrowserMain.jsp?url=/page/element/Menu/MenusBrowser.jsp";
	//console.log("=======================");
	dlg.callbackfun=function(data){
		if (data) {
	        if (data.id != "") {
	           if (data.id == "hp") {
	                span.innerHTML = "<a href='/homepage/maint/HomepageLocation.jsp' target='_blank'>" + data.name + "</a>";
	            } else if (data.id == "sys") {
	                span.innerHTML = "<a href='/systeminfo/menuconfig/MenuMaintFrame.jsp?type=" + data.id + "' target='_blank'>" + data.name + "</a>";
	            } else {
	               span.innerHTML = "<a href='/page/maint/menu/MenuEdit.jsp?id=" + data.id + "' target='_blank'>" + data.name + "</a>";
	            }
	           input.value = data.id;
	        } else {
	           span.innerHTML = "";
	           input.value = "0";
	        }
	    }
	}
	dlg.show();
 
}


function onClickMenuType(obj,eid){
        var menuType = document.getElementById("menuTypeId_"+eid);
		var spanMenuType = document.getElementById("spanMenuTypeId_"+eid);
		var tempMenuType = document.getElementById("tempMenuTypeId_"+eid);
		var mTypes = document.getElementById("menuType_"+eid);
		menuType.value = "";
		spanMenuType.innerHTML = "";
		tempMenuType.value = obj.value;
}

function onShowMenuTypes(input, span, eid, menutype) {
    menutype = menutype.value;
    var dlg=new window.top.Dialog();//定义Dialog对象
	dlg.Model=true;
	dlg.Width=550;//定义长度
	dlg.Height=560;
	dlg.URL="/systeminfo/BrowserMain.jsp?url=/page/element/Menu/MenuTypesBrowser.jsp?type=" + menutype;
	dlg.callbackfun=function(data){
		menulink = "";
	    if (menutype == "element") {
	        menulink = "ElementStyleEdit.jsp";
	    } else if (menutype == "menuh") {
	        menulink = "MenuStyleEditH.jsp";
	    } else {
	        menulink = "MenuStyleEditV.jsp";
	    }
	    if (data) {
	        if (data.id != "") {
	            span.innerHTML = "<a href='/page/maint/style/" + menulink + "?styleid=" +data.id + "&type=" + menutype + "&from=list' target='_blank'>" + data.name + "</a>";
	            input.value = data.id;
	        } else {
	            span.innerHTML = "";
	            input.value = "0";
	        }
	    }
	}
	dlg.show();
}

function onShowMenuTypes2(input, span, eid, menutype) {
    menutype = menutype.value;
    var dlg=new window.top.Dialog();//定义Dialog对象
	dlg.Model=true;
	dlg.Width=550;//定义长度
	dlg.Height=560;
	dlg.URL="/systeminfo/BrowserMain.jsp?url=/page/element/Menu/MenuTypesBrowser.jsp?type=" + menutype;
	dlg.callback=function(data){
		menulink = "";
	    if (menutype == "element") {
	        menulink = "ElementStyleEdit.jsp";
	    } else if (menutype == "menuh") {
	        menulink = "MenuStyleEditH.jsp";
	    } else {
	        menulink = "MenuStyleEditV.jsp";
	    }
	    if (data) {
	        if (data.id != "") {
	            span.innerHTML = "<a href='/page/maint/style/" + menulink + "?styleid=" +data.id + "&type=" + menutype + "&from=list' target='_blank'>" + data.name + "</a>";
	            input.value = data.id;
	        } else {
	            span.innerHTML = "";
	            input.value = "0";
	        }
	    }
	}
	dlg.show();
}
</script>


<script language="VBScript">
	Function URLEncoding(vstrIn)
    strReturn = ""	
	dim i
    For i = 1 To Len(vstrIn)
        ThisChr = Mid(vStrIn,i,1)
        If Abs(Asc(ThisChr)) < &HFF Then
            strReturn = strReturn & ThisChr
        Else
            innerCode = Asc(ThisChr)
            If innerCode < 0 Then
                innerCode = innerCode + &H10000
            End If
            Hight8 = (innerCode  And &HFF00)\ &HFF
            Low8 = innerCode And &HFF
            strReturn = strReturn & "%" & Hex(Hight8) &  "%" & Hex(Low8)
        End If
    Next
    URLEncoding = strReturn
End Function
</script>

<script type="text/javascript">
	function onShowNewNews(input,span,eid,publishtype){
		var iTop = (window.screen.availHeight-30-550)/2+"px"; //获得窗口的垂直位置;
		var iLeft = (window.screen.availWidth-10-550)/2+"px"; //获得窗口的水平位置;
		var dlg=new window.top.Dialog();//定义Dialog对象
		dlg.Model=true;
		dlg.Width=550;//定义长度
		dlg.Height=550;
		dlg.URL = "/systeminfo/BrowserMain.jsp?url=/docs/news/NewsBrowser.jsp?publishtype="+publishtype;
		dlg.callback=function(datas){
			if (datas){
						if (datas.id){
							$(span).html( "<a href='/docs/news/NewsDsp.jsp?id="+datas.id+"' target='_blank'>" +datas.name+"</a>");
							$(input).val(datas.id);
						}else{ 
							$(span).html( "");
							$(input).val("");
						}
				   }
		   }
	    dlg.show();
	}
	function setPictureWidth(eid,needButton)
	{
		try
		{
			var pictureTable = document.getElementById("pictureTable_"+eid);
			var picture = document.getElementById("picture_"+eid);
			pictureTable.style.display = "none";
			var pwidth = pictureTable.parentNode.offsetWidth;
			
			if(needButton=="1")
			{
				if(pwidth>64)
				{
					pwidth = pwidth-64;
				}
			}
			else
			{
				pwidth = pwidth-6;
			}
			
			picture.style.width=pwidth;
			$("#picture_"+eid).width(pwidth);
			pictureTable.style.display = "";
		}
		catch(e)
		{
		}
	}
	function autoMarquee(eid)
	{
		try
		{
			var pictureothertd = document.getElementById("pictureothertd_"+eid);
			var picture  = document.getElementById("picture_"+eid);
			var picturetd = document.getElementById("picturetd_"+eid);
			
			if(pictureothertd.offsetWidth-picture.scrollLeft<=0)
			{
				picture.scrollLeft -= picturetd.offsetWidth;
			}
			else
			{
				picture.scrollLeft ++ ;
			}
		}
		catch(e)
		{
		
		}
	}
	
	function doScrollAuto(eid,needButton,speed){

		var myMar = window["mars_"+eid];
		var picture = document.getElementById("picture_"+eid);
		var picturetd = document.getElementById("picturetd_"+eid);
		var pictureothertd = document.getElementById("pictureothertd_"+eid);
		var pictureotherlinktd = document.getElementById("pictureotherlinktd_"+eid);
		var picturelinktd = document.getElementById("picturelinktd_"+eid); 
		var picturenext = document.getElementById("picturenext_"+eid);
		var pictureback = document.getElementById("pictureback_"+eid);
		
		if(picture.offsetWidth < picturetd.offsetWidth){
			pictureothertd.innerHTML=picturetd.innerHTML;
			pictureotherlinktd.innerHTML=picturelinktd.innerHTML;
			clearInterval(myMar);
			myMar=setInterval(function(){autoMarquee(eid)},speed);
			window["mars_"+eid]=myMar;
		}
		
		picture.onmouseover = function(){clearInterval(myMar);};
		picture.onmouseout = function(){myMar = setInterval(function(){autoMarquee(eid)},speed);window["mars_"+eid]=myMar;};
		if("1"==needButton){ 
			picturenext.onmouseover = function(){clearInterval(myMar);};
			picturenext.onmouseout = function(){myMar = setInterval(function(){autoMarquee(eid)},speed);window["mars_"+eid]=myMar;};
			pictureback.onmouseover = function(){clearInterval(myMar);};
			pictureback.onmouseout = function(){myMar = setInterval(function(){autoMarquee(eid)},speed);window["mars_"+eid]=myMar;};
		}
		
		
	}
	
	function nextMarquee(eid)
	{
		//if(pictureothertd.offsetWidth-picture.scrollLeft<=0)
			//{
			//	picture.scrollLeft -= picturetd.offsetWidth;
			//}
			//else
			//{
			//	picture.scrollLeft ++ ;
			//}
		document.getElementById("picture_"+eid).scrollLeft+=75;
		//alert(document.getElementById("picture_"+eid).scrollLeft)
		//autoMarquee(eid)
		//	alert(document.getElementById("picture_"+eid).scrollLeft)
	}
	
	function backMarquee(eid)
	{
		document.getElementById("picture_"+eid).scrollLeft-=75;
		
	}
	
	function selectEngine(eid)
	{
		var keyword =document.getElementById("searchf_"+eid).keyword.value;
		var saction = "/page/element/SearchEngine/NewsSearchList.jsp?eid="+eid+"&keyword=";	
		saction +=keyword;
		openFullWindowForXtable(saction)
	
	}
</script>

<script type="text/javascript">
function changeMsg(eid,msg)
{	
	var frmLogin = document.getElementById("frmLogin_"+eid);
	var validatecode = frmLogin.validatecode;
    if(msg==0)
    {
       	if(validatecode.value=='请输入以下验证码') 
           	validatecode.value='';
    }
    else if(msg==1)
    {
        if(validatecode.value=='') 
            validatecode.value='请输入以下验证码';
    }
}
function checkall(eid,userparamname,userparampass,needvalidate,usbType)
{
	var errMessage="";
	var frmLogin = document.getElementById("frmLogin_"+eid);	
	var loginid = document.getElementById(userparamname);
	var userpassword = document.getElementById(userparampass);
	
	if (loginid&&loginid.value=="") 
	{
		errMessage="请输入用户名！";
		alert(errMessage);
		loginid.focus();
		return false ;
	}
	if (userpassword&&userpassword.value=="") 
	{
		errMessage="请输入密码！";
		alert(errMessage);
		userpassword.focus();
		return false ;
	}
	if(needvalidate=="1"){
		var validatecode = frmLogin.validatecode;
		if (validatecode&&(validatecode.value==""||validatecode.value=='请输入以下验证码')) 
		{
			errMessage="请输入以下验证码";
			alert(errMessage);
			validatecode.focus();
			return false ;
		}
	}
	frmLogin.submit(); 
	loginid.value="";
   	userpassword.value="";
  	$("#message_"+eid).html("");

}


function getBytesLength(str) {
	// 在GBK编码里，除了ASCII字符，其它都占两个字符宽
	return str.replace(/[^\x00-\xff]/g, 'xx').length;
}

/**
 * 根据字符长来截取字符串
 */
function subStringByBytes(val, maxBytesLen) {
	var len = maxBytesLen;
	var result = val.slice(0, len);
	while(getBytesLength(result) > maxBytesLen) 
	{
		result = result.slice(0, --len);
	}
	return result;
}

function saveScratchpad(eid,userid)
{
	var scratchpadareatext = document.getElementById("scratchpadarea_"+eid);
	scratchpadareatext.disabled = true;
	
	var padcontent = jQuery(scratchpadareatext).val();
	
	var len = getBytesLength(padcontent);
	//alert("len : "+len);
	if(len>4000)
	{
		var reply=confirm("便签内容超过4000字节,内容将被截取,是否保存?");
		if(reply)
		{
			padcontent = subStringByBytes(padcontent,4000);
			$.post("/page/element/scratchpad/ScratchpadOperation.jsp", { eid:eid, userid:userid, operation: "save",padcontent:padcontent },function(data){
			    	data = data.replace(/(^\s*)|(\s*$)/g, "");
			    	var scratchpadareatext = document.getElementById("scratchpadarea_"+eid);
			    	jQuery(scratchpadareatext).val(data);
	    			scratchpadareatext.disabled = false;
			});
		}
		else
		{
			scratchpadareatext.focus();
			scratchpadareatext.disabled = false;
		}
	}
	else
	{
		$.post("/page/element/scratchpad/ScratchpadOperation.jsp", { eid:eid,userid:userid, operation: "save",padcontent:padcontent },function(data){
			scratchpadareatext.disabled = false;
		});
	}
}

    /**
	*天气元素滚动控制
	*/
   function weatherAutoScroll(weatherId){
                
                var demo=document.getElementById(weatherId+"_0");
				
                var demo1=document.getElementById(weatherId+"_1");
				
                var demo2=document.getElementById(weatherId+"_2");
                
                var speed=30;
				var flag=0;  //用于记录 demo.scrollLeft 的位置，防止设置宽度过短时，出现滚动停止现象
				demo2.innerHTML=demo1.innerHTML;
				var Marquee=function(){
					if(demo2.offsetWidth-demo.scrollLeft<=0){
					     demo.scrollLeft-=demo1.offsetWidth;
					  }
					else if(flag==demo.scrollLeft&&demo.scrollLeft!=0)
					    demo.scrollLeft-=demo1.offsetWidth;
					else{
					    flag=demo.scrollLeft;
					    demo.scrollLeft++;
					}
				};
				var MyMar=setInterval(Marquee,speed);
				demo.onmouseover=function() {clearInterval(MyMar)};
				demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)};

    }
/**
	*天气元素手动滚动控制
	*/
	function nextWeatherMarquee(eid)
	{
		//if(pictureothertd.offsetWidth-picture.scrollLeft<=0)
			//{
			//	picture.scrollLeft -= picturetd.offsetWidth;
			//}
			//else
			//{
			//	picture.scrollLeft ++ ;
			//}
		document.getElementById("weather_"+eid+"_0").scrollLeft+=75;
		//alert(document.getElementById("picture_"+eid).scrollLeft)
		//autoMarquee(eid)
		//	alert(document.getElementById("picture_"+eid).scrollLeft)
	}
	
	function backWeatherMarquee(eid)
	{
		document.getElementById("weather_"+eid+"_0").scrollLeft-=75;
		
	}

    //设置提示信息
    function setRemindInfo(eid, isremind,tdclass,nameclass){
	    var tempremind="";
		if(isremind.indexOf("#")>-1){
		   tempremind=isremind.substring(0,isremind.indexOf("#")-1);
		}else{
		   tempremind=isremind;
		}
	    //无new标签
		if(tempremind.indexOf("0")===-1){
			 $("#item_"+eid).find("."+tdclass).find("img").hide();
		} 
		
		var obj = [];
		 var reminditems={};
		 if("reqdetail" == tdclass){	//流程特别处理，
			reminditems=$("#item_"+eid).find("."+tdclass).find("a").next().find("img").parents("."+tdclass);//有主从账号的新到图标外层有span，还有人力资源图标
			if(reminditems.length == 0){//主从账号没有选到对象时，还需要非主从账号的情况（img有id，新到图标外层没有有span，没有人力资源图标）
				reminditems=$("#item_"+eid).find("."+tdclass).find("img[id]").parents("."+tdclass);
			}
		}else{
			reminditems=$("#item_"+eid).find("."+tdclass).find("img").parents("."+tdclass);
		}
		 var reminditem,color,reqname;
		 for(var i=0,len=reminditems.length;i<len;i++){
			 reminditem=$(reminditems[i]);
			 reqname=reminditem.find("."+nameclass);
			 var str = "";
			 //粗体
			 if(tempremind.indexOf("1")!==-1){
				  reqname.css("font-weight","bold"); 
			      obj.push("font-weight:bold");
			 }
			 //斜体
			 if(tempremind.indexOf("2")!==-1){
				  reqname.css("font-style","italic");
				  obj.push("font-style:italic");
			 }
			 //颜色
			 if(tempremind.indexOf("3")!==-1){
				color=isremind.substr(isremind.indexOf("#"));
				//reqname.css("color",color +" !important");
				//reqname[0].style.setProperty('color', color, 'important');
				reqname.removeClass("font");
				reqname.attr('style', '');
			    obj.push("color:"+color+"");
			 }
			 $(reqname).attr('style', obj.join(";"));
			 
			 
		 }
	}
</script>


<script language="javascript" src="../js/datetime_wev8.js"></script>
<script language="javascript" src="../js/WdatePicker_wev8.js"></script><div id="_my97DP" style="position: absolute; top: -1970px; left: -1970px;"><iframe style="width: 186px; height: 198px;" src="../html/My97DatePicker.html" frameborder="0" border="0" scrolling="no"></iframe></div>
<script language="javascript" src="../js/selectDateTime_wev8.js"></script><iframe id="meizzDateLayer2" author="wayx" frameborder="0" style="position: absolute; width:200px; height:251px;z-index:9999;display:none;background:#fff;overflow:hidden;" src="../html/saved_resource(1).html"></iframe>



<div style="height: 35px;width: auto;margin: 5px;border: 1px dashed rgb(18, 17, 17);display:none;" class="itemholder"></div>


        <script src="../js/jquery-ui_wev8.js"></script>
		<script>
		     var hoveritem=undefined;
			 var itemholder=$(".itemholder");
		     $("#spanELib td a" ).draggable({
				     helper: "clone",
                     start: function( event, ui ) {
					      var helper=ui.helper;
						  helper.addClass("dragitemholder");

					 }, drag:function( event, ui ){
					    if(hoveritem!==undefined){
							var items=hoveritem.find(".item");
							var itemtemp;
							var offset=ui.offset;
                            var itemoffset;
							var itemheight;
							var flag=true;
							for(var i=0,len=items.length;i<len;i++){
							    itemtemp=$(items[i]);
                                itemoffset=itemtemp.offset();
								itemheight=itemtemp.height();
								if(offset.top>itemoffset.top  && offset.top<itemoffset.top+itemheight){
                                    if(itemtemp.prev()===itemholder)
										return;
									itemholder.insertBefore(itemtemp);
									itemholder.show();
                                    return;
								}
								if(i===(len-1))
								  flag=false;
							}
							if(!flag || items.length===0){
							     hoveritem.find(".group").append(itemholder);
								 itemholder.show();
							}
						}
					 }
				});
             //将td注册drop事件 
			 $(".group").parent().droppable({
				  over: function( event, ui ) {
				     hoveritem=$(event.target);
				  },
				  drop: function( event, ui ) {
                    var ebaseid=ui.helper.attr("ebaseid");
					var styleid="1390381555293";
					if(ebaseid==null || styleid == null){
						return;
					}
					////=======协同区开始
					if("8" <0){
						var suffix = $(".item").length + 1;
						if(suffix > 6) {
							var i = 0; 
							i = Math.floor(suffix / 6);
							suffix = suffix - 6 * i;
						}
						styleid = styleid + suffix;
					}
					////=======协同区结束
					
					var areaflag=hoveritem.find(".group").attr("areaflag");
                    var newurl="/homepage/element/ElementPreview.jsp?ebaseid="+ebaseid+"&styleid="+styleid+"&hpid=8&subCompanyId=5&fromModule=Portal&layoutflag="+areaflag;	
         		    GetContentForDragAdd("divInfo",newurl,true);
				  //鼠标移除则隐藏占位框
				  },out: function( event, ui ) {
				     
					 itemholder.hide(); 
				  }
             });

function doTabSave2(eid,ebaseid,tabId,para) {
	var tabDocument = tab_dialog.innerDoc;
	var tabWindow = tab_dialog.innerWin;
	var showCopy="1";
	var formAction ="";
	var tabTitle ="";
	var displayTitle="";
//	var orderNum = para.orderNum;
	formAction ="/page/element/OutData/tabOperation.jsp";
	tabTitle =$(tabDocument).find("#tabTitle_"+eid).attr("value");
	displayTitle = $("#encodeHTML").text(tabTitle).html();
	$.post(formAction,para,function(data){
		if($.trim(data) == 'no') {
			top.Dialog.alert('标题已存在！');
		} else {
			
			if(para.method=='add'){
			//onSetting(eid,ebaseid);
				var tabHtmlStr = '';
		//		var posOr = getTabPos(eid,orderNum,"tabtable");
				tabHtmlStr = "<TR><TD><input type='checkbox' name='checkrow_"+eid+"'/>&nbsp;<img moveimg src='/proj/img/move_wev8.png' title='拖动'/></TD><TD><span id = tab_"+eid+"_"+tabId+"  tabId='"+tabId+"' tabTitle='' showCopy='"+showCopy+"'></span></TD><TD width=100 lign='right'><a href='javascript:deleTab("+eid+","+tabId+",\""+ebaseid+"\")'>删除</a> &nbsp;&nbsp; <a href='javascript:editTab("+eid+","+tabId+",\""+ebaseid+"\")'>设置</a></TD></TR>";
				tabHtmlStr += "<tr class='Spacing' style='height:1px!important;'><td colspan='3' class='paddingLeft0Table'><div class='intervalDivClass' style='display:block''></div></td></tr>";
				$("#tabtable>tbody").append(tabHtmlStr);
				/* orderNum='"+orderNum+"'
				if(posOr != -1){
					$("#tabtable>tbody").find('[id='+posOr+']').parent().parent().before(tabHtmlStr);
				}else {
					
				}*/
				$("#tabDiv_"+eid+"_"+$("#setting_"+eid).attr("randomValue")).attr("tabCount",tabId);
				$("#tab_"+eid+"_"+tabId).html(displayTitle);
				$("#tab_"+eid+"_"+tabId).attr("tabTitle",tabTitle);
			}else{
				$("#tab_"+eid+"_"+tabId).html(displayTitle);
				$("#tab_"+eid+"_"+tabId).attr("tabTitle",tabTitle);
				$("#tab_"+eid+"_"+tabId).attr("showCopy",showCopy);
		/*		if(orderNum != $("#tab_"+eid+"_"+tabId).attr('orderNum')){
					$("#tab_"+eid+"_"+tabId).attr("orderNum",orderNum);
					var posOr = getTabPos(eid,orderNum,"tabtable","tab_"+eid+"_"+tabId);
					var tempHtml = "<TR>"+$("#tab_"+eid+"_"+tabId).parent().parent().html()+"</TR>";
					$("#tab_"+eid+"_"+tabId).parent().parent().remove();
					if(posOr != -1){
						$("#tabtable>tbody").find('[id='+posOr+']').parent().parent().before(tempHtml);
					}else {
						$("#tabtable>tbody").append(tempHtml);
					}
				}*/
			//$("#tab_"+eid+"_"+tabId).attr("tabWhere",whereKeyStr);
			}
			tab_dialog.close();
		}
	});
}

function onNewRequest(obj,wfid,agent,beagenter,selfwf){
	if(!selfwf){
		$(obj).parent().find(".addwfDrop").find(".itemdrop:first").trigger("click");
		return;
	}
	jQuery.post('/workflow/request/AddWorkflowUseCount.jsp',{wfid:wfid});

	    var redirectUrl = "/workflow/request/AddRequest.jsp?workflowid="+wfid+"&isagent="+agent+"&beagenter="+beagenter+"&f_weaver_belongto_userid=";
		var hiddenNames = "prjid,docid,crmid,hrmid,topage".split(",");
		for (var i = 0; i < hiddenNames.length; i++) {
			var hiddenName = hiddenNames[i];
			var hiddenVal = jQuery("input:hidden[name='"+hiddenName+"']").val();
			if (!!hiddenVal) {
				redirectUrl += "&" + hiddenName + "=" + hiddenVal;
			}
		}
	    var width = screen.availWidth-10 ;
	    var height = screen.availHeight-50 ;
	    var szFeatures = "top=0," ;
 	    szFeatures +="left=0," ;
	    szFeatures +="width="+width+"," ;
	    szFeatures +="height="+height+"," ;
	    szFeatures +="directories=no," ;
	    szFeatures +="status=yes,toolbar=no,location=no," ;
	    szFeatures +="menubar=no," ;
	    szFeatures +="scrollbars=yes," ;
	    szFeatures +="resizable=yes" ; //channelmode
	    window.open(redirectUrl,"",szFeatures) ;

}

function onNewRequest2(wfid,agent,belongtouserid){
	jQuery.post('/workflow/request/AddWorkflowUseCount.jsp',{wfid:wfid});

	    var redirectUrl = "/workflow/request/AddRequest.jsp?workflowid="+wfid+"&isagent="+agent+"&f_weaver_belongto_userid="+belongtouserid;
		var hiddenNames = "prjid,docid,crmid,hrmid,topage".split(",");
		for (var i = 0; i < hiddenNames.length; i++) {
			var hiddenName = hiddenNames[i];
			var hiddenVal = jQuery("input:hidden[name='"+hiddenName+"']").val();
			if (!!hiddenVal) {
				redirectUrl += "&" + hiddenName + "=" + hiddenVal;
			}
		}
	    var width = screen.availWidth-10 ;
	    var height = screen.availHeight-50 ;
	    var szFeatures = "top=0," ;
 	    szFeatures +="left=0," ;
	    szFeatures +="width="+width+"," ;
	    szFeatures +="height="+height+"," ;
	    szFeatures +="directories=no," ;
	    szFeatures +="status=yes,toolbar=no,location=no," ;
	    szFeatures +="menubar=no," ;
	    szFeatures +="scrollbars=yes," ;
	    szFeatures +="resizable=yes" ; //channelmode
	    window.open(redirectUrl,"",szFeatures) ;

}

function agentWf(obj){
	$(".addwfDrop").hide();
	var etop =$(obj).offset().top;
    var eleft =$(obj).offset().left;
    var width = $(obj).parent().find(".addwfDrop").width();
	$(obj).parent().find(".addwfDrop").css("top",etop+10).css("left",eleft-width).show();
}

var  hpid = "8";
	var data = [{id:"item_58",msg:"<span>集中聚合员工个人办公所需信息与提醒。<br>涵盖员工待办工作、待审阅文件、重点关注事项等<br>所有未处理的工作信息，便于员工在开启个人门户<br>之初即可得知当前工作进展，快速进入工作状态。</span>",url:"",prevClose:"1",nextClose:"",isClick:""}
	,{id:"item_57",msg:"<span>提供当日工作计划、下属工作微博、当日会议、预定日程等<br>集中的个人工作提醒机制，避免员工遗漏部分工作和计划行程。</span>",url:"",prevClose:"",nextClose:"",isClick:""}
	,{id:"item_220",msg:"<span>统一的信息发布平台。企业战略思想统一、<br>文化宣传、信息发布的重要渠道。</span>",url:"",prevClose:"",nextClose:"",isClick:""}
	,{id:"item_59",msg:"<span>企业内部通讯录，便于快速找到同事的联系方式。</span>",url:"",prevClose:"",nextClose:"",isClick:""}
	,{id:"item_266",msg:"<span>自动聚合互联网上与自定义关键词相关的信息内容，<br>及时获知外部动向。</span>",url:"",prevClose:"",nextClose:"",isClick:""}
	,{id:"item_335",msg:"<span>打破层级让整个组织更加透明，<br>让每一天成长的同仁能够得到<br>领导的认知。</span>",url:"",prevClose:"",nextClose:"",isClick:"",clickIframe:"divFloatBg",clickStep:"portal9"}	
	];
	
	
	if(hpid == "9"){
		data = [{id:"item_286",msg:"<span>打造企业发展的统一口号，<br>塑造企业的文化氛围。</span>",url:"",prevClose:"1",nextClose:"",isClick:""}
		,{id:"item_283",msg:"<span>企业发展的体系化文档，<br>便于员工快速了解企业。</span>",url:"",prevClose:"",nextClose:"",isClick:""}
		,{id:"item_270",msg:"<span>统一的信息发布平台。企业战略思想统一、<br>文化宣传、信息发布的重要渠道。</span>",url:"",prevClose:"",nextClose:"",isClick:""}
		,{id:"item_278",msg:"<span>新员工入职信息的自动推送，<br>让员工快速融入到企业中。</span>",url:"",prevClose:"",nextClose:"",isClick:""}
		,{id:"item_277",msg:"<span>丰富的员工生活，企业文化传播。</span>",url:"",prevClose:"",nextClose:"",isClick:""}
		,{id:"item_284",msg:"<span>公司期刊定期发布，<br>企业大事记随时订阅。</span>",url:"",prevClose:"",nextClose:"",isClick:"",clickIframe:"divFloatBg",clickStep:"portal15"}		
		];
	}
	
	if(hpid == "15"){
		data = [{id:"item_164",msg:"<span>签约新闻作为营销门户最重要的发布内容<br>每天更新最新销售动态。</span>",url:"",prevClose:"1",nextClose:"",isClick:""}
		,{id:"item_162",msg:"<span>通过销售类知识地图能让一名新销售快速成长，<br>便于了解销售过程及相关制度和模板。</span>",url:"",prevClose:"",nextClose:"",isClick:""}
		,{id:"item_178",msg:"<span>提供更加丰富的知识地图全面了解与自身岗位相关的信息，<br>从而运用到销售过程中。</span>",url:"",prevClose:"",nextClose:"",isClick:""}		
		,{id:"item_180",msg:"<span>通过报表随时掌握当前总体销售业绩情况</span>",url:"",prevClose:"",nextClose:"",isClick:"",clickIframe:"divFloatBg",clickStep:"portal10"}		
		];
	}
	
	if(hpid == "10"){
		data = [{id:"item_88",msg:"<span>帮助企业全面分析当前的人员组成结构</span>",url:"",prevClose:"1",nextClose:"",isClick:""}
		,{id:"item_89",msg:"<span>帮助企业全面分析当前财务状况</span>",url:"",prevClose:"",nextClose:"",isClick:""}
		,{id:"item_87",msg:"<span>帮助企业全面分析当前内部的运营状况</span>",url:"",prevClose:"",nextClose:"",isClick:""}		
		,{id:"item_78",msg:"<span>帮助企业全面分析当前资产运行情况</span>",url:"",prevClose:"",nextClose:"",isClick:"",clickIframe:"menuItem1",clickStep:"num_12"}		
		];
	}

		</script>	
		
	<link rel="stylesheet" type="text/css" href="../css/tip.css">
<script type="text/javascript" src=../js/tip.js"></script>


<div id="ascrail2000" style="width: 8px; z-index: 10003; position: absolute; top: 759px; left: 1871px; height: 210px; opacity: 0;"><div style="position: relative; top: 0px; float: right; width: 8px; height: 88px; background-color: rgb(153, 153, 153); border: none; background-clip: padding-box; border-radius: 5px;"></div></div></body></html>